From 03be040ca8f5aa6c52b19cf3bf3ab10e284159f6 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Thu, 23 Apr 2020 14:29:20 +0200 Subject: [PATCH] basic theme: set "clear: both" on "highlight*" divs See #7484. --- sphinx/themes/basic/static/basic.css_t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t index 5f33a9898..ae4d86cb4 100644 --- a/sphinx/themes/basic/static/basic.css_t +++ b/sphinx/themes/basic/static/basic.css_t @@ -327,7 +327,7 @@ p.sidebar-title { font-weight: bold; } -div.admonition, div.topic, pre { +div.admonition, div.topic, pre, div[class|="highlight"] { clear: both; }