Skip to content

Commit 6c87660

Browse files
benjaomingBlendify
authored andcommitted
Do not float elements next to admonition blocks #722 (#723)
1 parent ecbc09f commit 6c87660

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sass/_theme_rst.sass

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
// These are the various note pullouts that sphinx applies
110110
.note, .attention, .caution, .danger, .error, .hint, .important, .tip, .warning, .seealso, .admonition-todo, .admonition
111111
@extend .wy-alert
112+
// These block elements are unsuitable for having floating objects next
113+
// to them
114+
clear: both;
112115
.last
113116
margin-bottom: 0
114117
.admonition-title

0 commit comments

Comments
 (0)