Skip to content

Commit

Permalink
Fix spacing issue with HTML4 images
Browse files Browse the repository at this point in the history
This bug was introduced in #1185, it looks like the HTML4 selector
changed to not include directly descendents of `.section` elements.
  • Loading branch information
agjohnson committed Aug 12, 2021
1 parent 21fd7db commit 3e15703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/css/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/sass/_theme_rst.sass
Expand Up @@ -33,7 +33,7 @@
text-align: center

// Usually it's a good idea to give images some space.
.section, section >
.section >, section >
img, a > img
margin-bottom: $base-line-height

Expand Down

0 comments on commit 3e15703

Please sign in to comment.