mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Merge pull request #451 from cgiffard/whitespace-wrap
Layout: Break long words in markdown preview
This commit is contained in:
commit
e1e5c02152
@ -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