Skip to content

Commit

Permalink
basic CSS: apply "clearfix" to admonitions etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Jun 27, 2020
1 parent 81d5c03 commit 868d60f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sphinx/themes/basic/static/basic.css_t
Expand Up @@ -15,6 +15,12 @@ div.clearer {
clear: both;
}

div.section::after {
display: block;
content: '';
clear: left;
}

/* -- relbar ---------------------------------------------------------------- */

div.related {
Expand Down Expand Up @@ -376,6 +382,15 @@ div.admonition > :last-child {
margin-bottom: 0;
}

div.sidebar::after,
div.topic::after,
div.admonition::after,
blockquote::after {
display: block;
content: '';
clear: both;
}

/* -- tables ---------------------------------------------------------------- */

table.docutils {
Expand Down

0 comments on commit 868d60f

Please sign in to comment.