projects
/
hamn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf93080
)
Line-break long PRE-formatted lines as well, so as not
author
Magnus Hagander
<magnus@hagander.net>
Mon, 2 Feb 2009 15:32:49 +0000
(15:32 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 2 Feb 2009 15:32:49 +0000
(15:32 +0000)
to break the layout.
Selena Deckelmann
www/css/planet.css
patch
|
blob
|
blame
|
history
diff --git
a/www/css/planet.css
b/www/css/planet.css
index 73813a4b5f63e54786ca83e127f488b046ab6034..24dbf28a2a4765e482c52aa0fa879c5fff924725 100644
(file)
--- a/
www/css/planet.css
+++ b/
www/css/planet.css
@@
-151,3
+151,12
@@
div.serendipity_authorpic {
.b4f {height:2px; background:#ddd; margin:0 1px;}
.contentf {background: #ddd;}
.contentf div {margin-left: 5px;}
+
+/* fix for long pre lines */
+pre {
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}