Skip to content

Commit

Permalink
Sidebar should not be floating on mobile (#1622)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kartben authored Nov 13, 2024
1 parent 5f03347 commit 8d4d394
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/css/theme.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/sass/_theme_rst.sass
Original file line number Diff line number Diff line change
Expand Up @@ -615,3 +615,5 @@
.rst-content
.sidebar
width: 100%
float: none
margin-left: 0

0 comments on commit 8d4d394

Please sign in to comment.