mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Merge pull request #451 from cgiffard/whitespace-wrap
Layout: Break long words in markdown preview
This commit is contained in:
commit
a0bb95ffb6
@ -253,6 +253,12 @@
|
||||
padding: 60px 40px 40px 40px;
|
||||
overflow: auto;
|
||||
|
||||
// Breaking for long words in preview region
|
||||
word-break: break-word;
|
||||
word-break: break-all;
|
||||
-webkit-hyphens: auto;
|
||||
hyphens: auto;
|
||||
|
||||
// Tweak padding for smaller screens
|
||||
@include breakpoint($netbook) {padding-top: 20px;}
|
||||
@include breakpoint($mobile) {padding: 15px;}
|
||||
|
Loading…
Reference in New Issue
Block a user