diff options
author | Fabian Tamp <fabian.tamp@gmail.com> | 2020-02-03 19:09:09 +0300 |
---|---|---|
committer | Fabian Tamp <fabian.tamp@gmail.com> | 2020-02-03 19:09:09 +0300 |
commit | 460ee2daa86648b6f3927e91e880d9ebe6c22049 (patch) | |
tree | e18918207d85b768789c4a6becb11580aa5e75a2 | |
parent | 7d02e79e29ec9d84d5ae81390b3fadcef48e9834 (diff) |
Make hyphens consistent, add word-wrap = break-word
-rw-r--r-- | static/css/style.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/static/css/style.css b/static/css/style.css index d5c75f5..91ff94a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -9,6 +9,9 @@ code { font-size: 90%; background-color: #eeeeee; hyphens: none; /* reset changes from <p> */ + -webkit-hyphens: none; + -ms-hyphens: none; + word-wrap: break-word; /* border-radius: 4px; */ } @@ -23,7 +26,6 @@ pre { padding: 9.5px; margin: 0 0 10px; line-height: 1.4; - word-break: break-all; word-wrap: break-word; border: 1px solid #ccc; box-shadow: 0 5px 5px -5px #777777; @@ -327,6 +329,8 @@ ul.right-links li { p { hyphens: auto; + -webkit-hyphens: auto; + -ms-hyphens: auto; } .look-sheet-bkg.draft, .list-of-titles li.draft a:hover { |