Author: dsahlberg
Date: Thu Jul 15 11:25:29 2021
New Revision: 1891570

URL: http://svn.apache.org/viewvc?rev=1891570&view=rev
Log:
In site/staging:

* style/site.css:
  Force wordbreak in <tt> and <a> to avoid long links increasing the width of 
the viewport on mobile devices in portrait

Found-by: hartmannathan

Modified:
    subversion/site/staging/style/site.css

Modified: subversion/site/staging/style/site.css
URL: 
http://svn.apache.org/viewvc/subversion/site/staging/style/site.css?rev=1891570&r1=1891569&r2=1891570&view=diff
==============================================================================
--- subversion/site/staging/style/site.css (original)
+++ subversion/site/staging/style/site.css Thu Jul 15 11:25:29 2021
@@ -56,7 +56,6 @@ pre {
   font-size: 90%;
   overflow-x: auto;
 }
-
 /*
 ** Page Elements
 */
@@ -169,6 +168,10 @@ pre {
       width: 340px;
       height: 68px;
     }
+    /* Allow wordbreak in tt and a because of some very long "words", ie 
links, in for example HACKING */
+    tt, a {
+      overflow-wrap: break-word;
+    }
   }
   
 }


Reply via email to