Skip to content

Commit 68c57ed

Browse files
12rambaugabalafou
authored andcommitted
fix: change the z-index of the dropdown (pydata#1442)
In order to be on top of the primary sidebar on small screens.
1 parent a4e2804 commit 68c57ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pydata_sphinx_theme/assets/styles/components/_switcher-version.scss

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ button.btn.version-switcher__button {
5353
button.version-switcher__button,
5454
.version-switcher__menu {
5555
font-size: 1.1em; // A bit smaller than other menu font
56+
z-index: $zindex-modal; // higher than the sidebars
5657
@include media-breakpoint-up($breakpoint-sidebar-primary) {
5758
font-size: unset;
5859
}

0 commit comments

Comments
 (0)