Skip to content

Commit

Permalink
Merge pull request #154 from melissawm/fix-admonition-border
Browse files Browse the repository at this point in the history
Fix padding for admonitions ending with code blocks
  • Loading branch information
psobolewskiPhD authored Feb 21, 2024
2 parents f8b2804 + 21db63b commit 514ec9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions napari_sphinx_theme/static/css/napari-sphinx-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,10 @@ div.admonition *:last-child,
margin-bottom: 0;
}

div.admonition::after {
padding-bottom: 10px;
}

div.admonition p.admonition-title~*,
.admonition p.admonition-title~* {
margin-left: 1.4rem;
Expand Down

0 comments on commit 514ec9d

Please sign in to comment.