Skip to content

Commit

Permalink
basic CSS: remove overflow-x from admonition/topic, allow more "float…
Browse files Browse the repository at this point in the history
…ing"
  • Loading branch information
mgeier committed Jun 27, 2020
1 parent bfde3f3 commit 81d5c03
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sphinx/themes/basic/static/basic.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------------------- */
Expand All @@ -338,7 +338,6 @@ div.topic {
border: 1px solid #ccc;
padding: 7px;
margin: 10px 0 10px 0;
overflow-x: auto;
}

p.topic-title {
Expand All @@ -353,7 +352,6 @@ div.admonition {
margin-top: 10px;
margin-bottom: 10px;
padding: 7px;
overflow-x: auto;
}

div.admonition dt {
Expand Down Expand Up @@ -677,6 +675,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;
Expand Down

0 comments on commit 81d5c03

Please sign in to comment.