summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/css
diff options
context:
space:
mode:
authorstilez <stilez@users.noreply.github.com>2016-09-26 17:14:37 +0100
committerGitHub <noreply@github.com>2016-09-26 17:14:37 +0100
commite67157bee85f71929d687e2c03020618f18c8f6d (patch)
tree5493e34612498359716f4e037a740d1a020f6e8e /src/usr/local/www/css
parent6db038f768d5045c29a0454cdf2f7e298d9e2f0f (diff)
downloadpfsense-e67157bee85f71929d687e2c03020618f18c8f6d.zip
pfsense-e67157bee85f71929d687e2c03020618f18c8f6d.tar.gz
wbr tag needs a css compatibility fix for some browsers
See comment in the PR
Diffstat (limited to 'src/usr/local/www/css')
-rw-r--r--src/usr/local/www/css/pfSense.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usr/local/www/css/pfSense.css b/src/usr/local/www/css/pfSense.css
index a2cb099..6cf0945 100644
--- a/src/usr/local/www/css/pfSense.css
+++ b/src/usr/local/www/css/pfSense.css
@@ -69,6 +69,17 @@ h1 a:hover, h1 a:active {
text-decoration: none !important;
}
+/* Zero-width optional linebreaks can help the browser to linebreak at 'good' places.
+ Unfortunately the two most compatible options aren't consistently supported.
+ "\00200B" or #8203; is part of unicode and widely implemented; and <wbr> is widely
+ supported even on old browsers but not IE<5.5 and IE>7.
+ http://stackoverflow.com/a/23759279/2238378 suggests a neat "80%" solution for broad
+ compatibility pre-HTML5 - use <wbr> and automatically insert #&8203; after it. Should
+ be invisible, facilitates neat line breaking when manual control is desired. */
+wbr:after {
+ content: "\00200B";
+}
+
.container.fixed {
padding-top: 60px;
}
OpenPOWER on IntegriCloud