mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Nav: Fix right padding on level2+ (#1068)
The sets the right padding the same as the first level. The current padding is too large and varies between toc levels. Now, the right padding is the same between all levels and only the left padding changes
This commit is contained in:
parent
e001cca56f
commit
4ad33d0197
@ -133,6 +133,7 @@ html
|
||||
li.toctree-l#{$toc_level + 1} > a
|
||||
@extend %display_current_toctree_element
|
||||
padding: $gutter / 4 $gutter * ($toc_level + .5)
|
||||
padding-right: $gutter
|
||||
a:hover span.toctree-expand
|
||||
@extend %toctree_hover_link_color
|
||||
@if $toc_level > 2 and $toc_level < 5
|
||||
|
Loading…
Reference in New Issue
Block a user