diff options
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 17 | ||||
-rw-r--r-- | public/less/_repository.less | 5 |
2 files changed, 20 insertions, 2 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index d260df4d..4042b375 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; diff --git a/public/less/_repository.less b/public/less/_repository.less index 66c35432..95cbb80e 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -1206,6 +1206,9 @@ width: 20px; text-align: center; } + a { + .dont-break-out; + } } } .hook.history.list { @@ -1321,5 +1324,3 @@ width: 100%!important; } } - - |