]> granicus.if.org Git - clang/commitdiff
WWW: Force word wrapping of the content to avoid horizontal scrolling.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 30 Aug 2012 13:12:02 +0000 (13:12 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 30 Aug 2012 13:12:02 +0000 (13:12 +0000)
This isn't perfect but avoids overlap of the menu and the content.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162903 91177308-0d34-0410-b5e6-96231b3b80d8

www/menu.css

index 4a887b1907a32f3d12a5c09c515eb95019fb2688..bece0ad3dcd60bdc5b1896bf022dca6be189e7ea 100644 (file)
@@ -8,9 +8,9 @@
 }
 [id=content] {
        /* *****  EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */
-       position:absolute;
-  left:29ex;
+       margin-left:29ex;
        padding-right:4ex;
+       word-wrap: break-word;
 }
 
 /**************/