Skip to content

Commit e2279d9

Browse files
authored
fix: change the z-index of the dropdown (#1442)
In order to be on top of the primary sidebar on small screens.
1 parent 4a29125 commit e2279d9

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)