0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed overzealous word breaking

Closed #514
Reverting change from @f1dfb9a where I moved the new word breaking CSS rules to the body tag to apply everywhere. This doesn't play nicely everywhere - so this change moves them back to just the content preview areas where they are needed.
This commit is contained in:
John O'Nolan 2013-08-24 20:43:33 +02:00
parent f4b18a4eb2
commit 9c01e8869f
3 changed files with 4 additions and 2 deletions

View file

@ -265,6 +265,8 @@
left: 0;
padding: 60px 40px 40px 40px;
overflow: auto;
word-break: break-word;
hyphens: auto;
// Tweak padding for smaller screens
@include breakpoint($netbook) {padding-top: 20px;}

View file

@ -181,6 +181,8 @@
top:0;
right:0;
border-left:$lightbrown 2px solid;
word-break: break-word;
hyphens: auto;
background: #fff;
box-shadow: $shadow;
@include breakpoint($tablet) {

View file

@ -71,8 +71,6 @@ body {
color: $darkgrey;
font-weight: 300;
background: $lightbrown;
word-break: break-word;
hyphens: auto;
@include breakpoint($mobile) { background: #fff; }
}