Commits

Roger Haase committed eebbee6

add "clear: both" to block elements with borders to prevent borders from overlaying floated elements like TOC

Comments (0)

Files changed (1)

MoinMoin/themes/modernized/static/css/common.css

 strong.highlight { background-color: #CCE0FF; padding: 1px; }
 
 /* pre */
-pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt;
+pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; clear: both;
             font-family: courier, monospace; margin: .33em 0; white-space: pre; }
 pre.comment { background-color: #CCC; color: red; padding: 0; margin: 0; border: 0; }
 pre.comment:before { content: url(../img/attention.png); }
 .blue { background-color: #CCF; }
 .yellow { background-color: #FFF29F; }
 .orange { background-color: #FFD59B; }
-.solid { border: 2px solid #000; padding: 2px; }
-.dashed { border: 2px dashed #888; padding: 2px; }
-.dotted { border: 2px dotted #000; padding: 2px; }
+.solid { border: 2px solid #000; padding: 2px; clear: both; }
+.dashed { border: 2px dashed #888; padding: 2px; clear: both; }
+.dotted { border: 2px dotted #000; padding: 2px; clear: both; }
 .left { text-align: left; }
 .center { text-align: center; }
 .right { text-align: right; }
 #moin-content div.tip,
 #moin-content div.warning { border: 1px solid #E5E5E5; background-color: #F9F9FF;
             background-repeat: no-repeat; background-position: 8px 8px;  color: black;
-            margin: 10px 30px 10px 30px; min-height: 64px; padding-left: 64px; }
+            margin: 10px 30px 10px 30px; min-height: 64px; padding-left: 64px; clear: both; }
 #moin-content div.caution p,
 #moin-content div.important p,
 #moin-content div.note p,
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.