Skip to content

Commit 66de79f

Browse files
committed
docs(emcn): trim z-index scale comment to original footprint
Correct the pre-existing scale comment in place (the old wording became stale when DropdownMenu moved to the popover layer) rather than expanding it. The scale tokens are global, so their documentation stays with them.
1 parent 70b327f commit 66de79f

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

apps/sim/app/_styles/globals.css

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,8 @@
2121
--auth-primary-btn-hover-border: #e0e0e0;
2222
--auth-primary-btn-hover-text: #000000;
2323

24-
/* z-index scale for layered UI.
25-
--z-dropdown is the in-flow panel layer that sits BELOW modals (slide-over
26-
panels, floating action bars, drag overlays). Transient poppers that can be
27-
opened from inside a modal — menus, selects, popovers, tooltips, toasts —
28-
must sit ABOVE --z-modal so they stay visible and clickable over the modal
29-
surface (the modal overlay is semi-transparent, so a popper below it is
30-
faintly visible but intercepts no clicks). */
24+
/* z-index scale. Transient poppers (menus, selects, popovers, tooltips, toasts)
25+
sit above --z-modal so they stay clickable over the semi-transparent overlay. */
3126
--z-dropdown: 100;
3227
--z-modal: 200;
3328
--z-popover: 300;

0 commit comments

Comments
 (0)