summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorstilez <stilez@users.noreply.github.com>2016-09-26 17:14:37 +0100
committerJared Dillard <jdillard@netgate.com>2016-12-05 13:12:08 -0600
commitb0787bc8e94ca7f4d29dd78ec720d9eefa05fc25 (patch)
tree4595ceec51c0646118b81a974132e7135a8a0fe4 /src
parentfc709ad32ddaf669f98a710f5a11b20fb4cee990 (diff)
downloadpfsense-b0787bc8e94ca7f4d29dd78ec720d9eefa05fc25.zip
pfsense-b0787bc8e94ca7f4d29dd78ec720d9eefa05fc25.tar.gz
wbr tag needs a css compatibility fix for some browsers
See comment in the PR (cherry picked from commit e67157bee85f71929d687e2c03020618f18c8f6d)
Diffstat (limited to 'src')
-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 9152784..c59879c 100644
--- a/src/usr/local/www/css/pfSense.css
+++ b/src/usr/local/www/css/pfSense.css
@@ -101,6 +101,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