Skip to content

Commit 657b9bb

Browse files
authored
Merge pull request #1271 from Tanisha127/fix/version-switcher-dropdown-overflow
fix: version switcher dropdown overflow on smaller screens (#578)
2 parents 27e4283 + 51ad0e0 commit 657b9bb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/source/_static/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* Fix version switcher dropdown overflow - GitHub issue #578 */
2+
.version-switcher__menu {
3+
max-height: 60vh;
4+
overflow-y: auto !important;
5+
overflow-x: hidden;
6+
}

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@
4646
],
4747
}
4848
html_static_path = ["_static"]
49+
html_css_files = ["custom.css"]
4950
html_logo = "_static/logo.svg"
5051
html_favicon = "_static/favicon.ico"

0 commit comments

Comments
 (0)