Skip to content

Commit

Permalink
z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster authored and ntsekouras committed May 2, 2023
1 parent 3c45700 commit 36a7e96
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/base-styles/_z-index.scss
Original file line number Diff line number Diff line change
@@ -189,6 +189,9 @@ $z-layers: (
".edit-site-layout__canvas-container.is-resizing::after": 100,
// Title needs to appear above other UI the section content.
".edit-site-sidebar-navigation-screen__title-icon": 1,

// Ensure modal footer actions appear above modal contents
".edit-site-start-template-options__modal__actions": 1,
);

@function z-index( $key ) {
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@
margin-right: - $grid-unit-40;
padding: $grid-unit-30 $grid-unit-40 $grid-unit-40;
border-top: 1px solid $gray-300;
z-index: z-index(".edit-site-start-template-options__modal__actions");
}
}

0 comments on commit 36a7e96

Please sign in to comment.