Fix maximum width of a blog not honoured (closes #2544547). stable
authorFlorent Cayre <florent.cayre@logilab.fr>
Sat, 22 Dec 2012 15:44:51 +0100
branchstable
changeset 297 b8e6c342cd69
parent 295 15eea37638ea
child 298 e9526bfa5802
Fix maximum width of a blog not honoured (closes #2544547). Such bug occurs when a <pre> tag is too large. This is fixed by hiding the horizontal overflow, which at least preserves the overall width of the blog.
data/cubes.blog.css
--- a/data/cubes.blog.css	Wed Oct 10 17:20:54 2012 +0200
+++ b/data/cubes.blog.css	Sat Dec 22 15:44:51 2012 +0100
@@ -31,6 +31,7 @@
   font-family: "Palatino Linotype", Calluna-Exljbris, Georgia, "Times New Roman", Times, serif;
   max-width:56em;
   font-size:120%;
+  overflow-x: hidden;
 }
 div.blogwrapper ul li {
     padding-left:24px;