Skip to content

Commit 0516968

Browse files
committed
Add explicit z-index to es-sidebar-toggle and es-sidebar so they overlap main content properly for left aligned sidebars
1 parent f385ddb commit 0516968

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addon/styles/components/es-sidebar.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
@media (max-width: 844px) {
1313
.es-sidebar-toggle {
1414
position: fixed;
15+
z-index: 1;
1516
bottom: 30px;
1617
right: 30px;
1718

@@ -43,6 +44,7 @@
4344
box-sizing: border-box;
4445
display: none;
4546
position: fixed;
47+
z-index: 1;
4648
top: var(--es-sidebar-padding);
4749
left: var(--es-sidebar-padding);
4850
height: calc(100% - var(--es-sidebar-padding) * 2);

0 commit comments

Comments
 (0)