mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 07:42:23 +00:00
Fold the side rails' labels at once
When a panel opened or closed, the rails' labels eased their width, which stretched and shrank every button in the rail. On the side rails the labels now fold away and come back at once; only their fade eases. Co-authored-by: Sameh Khamis <[email protected]>
This commit is contained in:
1 parent
129b35e470
commit
4568b9ff12
1 file changed
+7
@@ -245,3 +245,10 @@
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
/* The side rails fold their labels away at once when a panel opens, and back
|
||||
when it closes: easing the labels' width made every button visibly
|
||||
stretch and shrink. Only their fade eases. */
|
||||
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail__label {
|
||||
transition: opacity var(--transition-fast);
|
||||
}
|
||||
Reference in new issue
Block a user