Fixed a CSS problem regarding <pre> elements. Made Zita look better.

This commit is contained in:
Niels Serup
2011-11-11 16:51:28 +01:00
parent 873e5fc8d9
commit 50e7e08a1b
3 changed files with 24 additions and 16 deletions

View File

@@ -169,7 +169,6 @@ tt, code, samp, pre, var {
pre {
margin-top: 10px;
white-space: pre-wrap;
word-wrap: break-word;
}
@@ -420,6 +419,10 @@ div.left-float, img.left-float, video.left-float, audio.left-float {
padding: 2px 4px;
}
.highlight span {
white-space: pre;
}
.highlighttable {
margin: 5px 0 5px 0;
}

View File

@@ -106,3 +106,8 @@ ul#menulinks {
.highlighttable .code {
width: 600px;
}
pre {
max-width: 660px;
overflow: auto;
}