Skip to content

Commit 8d4d394

Browse files
authored
Sidebar should not be floating on mobile (#1622)
When sidebar is set to 100% width on mobile, it should also be switched back to being non-floating. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 5f03347 commit 8d4d394

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

sphinx_rtd_theme/static/css/theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/_theme_rst.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,3 +615,5 @@
615615
.rst-content
616616
.sidebar
617617
width: 100%
618+
float: none
619+
margin-left: 0

0 commit comments

Comments
 (0)