From 43d1e2723f9e355252e509ba0073416ae645dab1 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Wed, 21 Aug 2013 08:42:36 +0200 Subject: [PATCH] Fixed word breaking bug See TryGhost/Ghost@044cf21887e4906994b1e4e424310516dce4b944 --- assets/css/screen.css | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 2695161..a88d1c8 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -108,14 +108,14 @@ a:hover { .post { max-width: 700px; margin: 0 auto; + + /* Break long words to new line */ + word-break: break-word; + hyphens: auto; } .post-title { - /* Breaking for long words in preview region */ - word-break: break-word; - word-break: break-all; - -webkit-hyphens: auto; - hyphens: auto; + } .post-title a { @@ -123,11 +123,7 @@ a:hover { } .post-content { - /* Breaking for long words in preview region */ - word-break: break-word; - word-break: break-all; - -webkit-hyphens: auto; - hyphens: auto; + } .post-meta {