summaryrefslogtreecommitdiffstats
path: root/public/less/_base.less
diff options
context:
space:
mode:
Diffstat (limited to 'public/less/_base.less')
-rw-r--r--public/less/_base.less17
1 files changed, 17 insertions, 0 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index d260df4df9..4042b375da 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -28,6 +28,23 @@ pre, code {
word-break: break-word;
}
}
+.dont-break-out {
+ /* These are technically the same, but use both */
+ overflow-wrap: break-word;
+ word-wrap: break-word;
+
+ -ms-word-break: break-all;
+ /* This is the dangerous one in WebKit, as it breaks things wherever */
+ word-break: break-all;
+ /* Instead use this non-standard one: */
+ word-break: break-word;
+
+ /* Adds a hyphen where the word breaks, if supported (No Blink) */
+ -ms-hyphens: auto;
+ -moz-hyphens: auto;
+ -webkit-hyphens: auto;
+ hyphens: auto;
+}
.full.height {
padding: 0;
margin: 0 0 -@footer-margin*2 0;