Skip to content

[6.x] Add z-index to navbar in CP#14640

Open
wiktorm12 wants to merge 1 commit into
statamic:6.xfrom
wiktorm12:issue/14608
Open

[6.x] Add z-index to navbar in CP#14640
wiktorm12 wants to merge 1 commit into
statamic:6.xfrom
wiktorm12:issue/14608

Conversation

@wiktorm12
Copy link
Copy Markdown
Contributor

@wiktorm12 wiktorm12 commented May 11, 2026

Fix grid header overlaps navigation

Before:
image

After:
image

Fixes #14608

@jackmcdade
Copy link
Copy Markdown
Member

jackmcdade commented May 11, 2026

Thanks for giving this a go! We try not to use arbitrary z-index values but rather have vars to map out the various proper z-indexes in resources/css/elements/base.css

--z-index-below: -1;
--z-index-above: 1;
--z-index-portal: 2;
--z-index-draggable: 3;
--z-index-modal: 4;
--z-index-max: 5;

You up for taking a stab w/ those or should I take it from here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grid header overlaps navigation

2 participants