refactor: Enhance ControlsPlayer and CamMode for improved camera mode handling and UI responsiveness

This commit is contained in:
2025-05-15 12:06:51 +05:30
parent 8facad31bc
commit 9cd08f75e3
6 changed files with 104 additions and 34 deletions

View File

@@ -358,7 +358,8 @@
}
.controls-player-container {
max-width: 50vw;
min-width: 26vw;
max-width: 80vw;
border-radius: 15px;
gap: 40px;
background: var(--background-color);
@@ -375,6 +376,12 @@
isolation: isolate;
font-weight: 700;
padding: 8px;
transition: all 0.2s;
&.hide {
min-width: none;
width: 92px;
}
.controls-left,
.controls-right {
@@ -418,7 +425,7 @@
outline: 1px solid var(--border-color);
color: var(--accent-color);
}
&.hide{
&.hide {
width: 32px;
}
.icon {