Skip to content

Commit ea95085

Browse files
committed
Fix sidebar padding
1 parent 94b8091 commit ea95085

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sphinx_book_theme/assets/styles/sections/_sidebar-secondary.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
// To make sure it shows above the page content
4747
z-index: variables.$zindex-middle;
4848

49-
// Remove padding so that it's flush on the top and left
50-
padding: 0;
49+
// Add comfortable horizontal padding, keep flush with top
50+
padding: 0 1.5rem;
5151

5252
// This is the container div for the secondary sidebar nav
5353
.toc-item {

0 commit comments

Comments
 (0)