Skip to content

Commit 1ffe092

Browse files
committed
Sidebar: Limit sticky breadcrumb to only mobile
1 parent 28338d2 commit 1ffe092

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

assets/css/v2/style.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,12 @@ nav {
531531
column-gap: var(--grid-column-gutter);
532532
}
533533

534+
.breadcrumb-layout {
535+
position: sticky !important;
536+
top: 0;
537+
z-index: 3;
538+
}
539+
534540
body:has(#sidebar-v2[style*="block"]) {
535541
/* Disable scrolling in main content + hide footer if the sidebar is visible */
536542
overflow-y: hidden;
@@ -1010,9 +1016,7 @@ p {
10101016
}
10111017

10121018
.breadcrumb-layout {
1013-
position: sticky;
1014-
top: 0;
1015-
z-index: 3;
1019+
position: relative;
10161020
background-color: white;
10171021
width: calc(100% + 4rem);
10181022
margin-left: -2rem;

0 commit comments

Comments
 (0)