diff options
author | Matthias Geier <Matthias.Geier@gmail.com> | 2020-06-27 18:23:55 +0300 |
---|---|---|
committer | Matthias Geier <Matthias.Geier@gmail.com> | 2020-07-05 11:32:39 +0300 |
commit | 045fc6807820ba1a1976799a237cc01cfc8403c8 (patch) | |
tree | db9c914a057f1a2ba01f6f8c458c230369b78640 /sphinx/themes | |
parent | 3e643735143be400462438fadfde494b8caf014d (diff) |
basic CSS: remove overflow-x from admonition/topic, allow more "floating"
Diffstat (limited to 'sphinx/themes')
-rw-r--r-- | sphinx/themes/basic/static/basic.css_t | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t index e0f24c8a1..53e685061 100644 --- a/sphinx/themes/basic/static/basic.css_t +++ b/sphinx/themes/basic/static/basic.css_t @@ -328,8 +328,8 @@ p.sidebar-title { font-weight: bold; } -div.admonition, div.topic, pre, div[class|="highlight"] { - clear: both; +div.admonition, div.topic, blockquote { + clear: left; } /* -- topics ---------------------------------------------------------------- */ @@ -338,7 +338,6 @@ div.topic { border: 1px solid #ccc; padding: 7px; margin: 10px 0 10px 0; - overflow-x: auto; } p.topic-title { @@ -353,7 +352,6 @@ div.admonition { margin-top: 10px; margin-bottom: 10px; padding: 7px; - overflow-x: auto; } div.admonition dt { @@ -680,6 +678,10 @@ pre { overflow-y: hidden; /* fixes display issues on Chrome browsers */ } +pre, div[class|="highlight"] { + clear: both; +} + span.pre { -moz-hyphens: none; -ms-hyphens: none; |