fix(sw): stabilize footer command layout and overflow alignment
This commit is contained in:
1 parent
41e963a12a
commit
73e30242f2
7 files changed
+36
-21
No files matched your search
@@ -89,6 +89,10 @@
|
||||
--hm-sw-footer-command-line-height: 14px;
|
||||
/* Not in Figma (reference screens 2026-10-20): the command line inside the bar keeps at least this width. */
|
||||
--hm-sw-footer-command-min-width: 280px;
|
||||
/* Not in Figma: with the command line inside the bar, the slot area takes this share of the free width (bar minus
|
||||
the auxiliary area and 명령어 전체보기), the command line the rest. 0.57 reproduces both reference screens
|
||||
(1920 → 12 slots / command line 629px, 952 → 4 commands + ▲). Bar width only, never the command count. */
|
||||
--hm-sw-footer-slot-share: 0.57;
|
||||
/* Not in Figma: below this bar width the auxiliary toggles show their icon only (reference screen 2026-10-20). */
|
||||
--hm-sw-footer-aux-compact-width: 45px;
|
||||
}
|
||||
@@ -282,7 +286,8 @@
|
||||
bottom: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
/* Rows fill from the left in data order; a short last row stays on the left (the panel itself is right aligned). */
|
||||
justify-content: flex-start;
|
||||
border: 1px solid var(--hm-sw-footer-group-border-color);
|
||||
border-bottom: 0;
|
||||
border-radius: var(--hm-sw-footer-group-radius) var(--hm-sw-footer-group-radius) 0 0;
|
||||
|
||||
Reference in new issue
Block a user