refactor: Enhance ControlsPlayer and CamMode for improved camera mode handling and UI responsiveness
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user