From 6c876607a5c2d204600c042f76764b710fa2ff6b Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Mon, 25 Feb 2019 19:24:48 +0100 Subject: [PATCH] Do not float elements next to admonition blocks #722 (#723) --- sass/_theme_rst.sass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index 7e7542d..3ab83de 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -109,6 +109,9 @@ // These are the various note pullouts that sphinx applies .note, .attention, .caution, .danger, .error, .hint, .important, .tip, .warning, .seealso, .admonition-todo, .admonition @extend .wy-alert + // These block elements are unsuitable for having floating objects next + // to them + clear: both; .last margin-bottom: 0 .admonition-title