Skip to content

Commit 514ec9d

Browse files
Merge pull request #154 from melissawm/fix-admonition-border
Fix padding for admonitions ending with code blocks
2 parents f8b2804 + 21db63b commit 514ec9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

napari_sphinx_theme/static/css/napari-sphinx-theme.css

+4
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,10 @@ div.admonition *:last-child,
681681
margin-bottom: 0;
682682
}
683683

684+
div.admonition::after {
685+
padding-bottom: 10px;
686+
}
687+
684688
div.admonition p.admonition-title~*,
685689
.admonition p.admonition-title~* {
686690
margin-left: 1.4rem;

0 commit comments

Comments
 (0)