From fd4aebe2e275d13a9ec1a759d8d5f89f7b1d50db Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Mon, 19 Aug 2013 13:09:56 +0200 Subject: [PATCH] Break long words to new line. Closes #16 --- assets/css/screen.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/assets/css/screen.css b/assets/css/screen.css index 9d266ac..6a18da1 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -76,6 +76,22 @@ a:hover { margin: 0 auto; } +.post-title { + /* Breaking for long words in preview region */ + word-break: break-word; + word-break: break-all; + -webkit-hyphens: auto; + hyphens: auto; +} + +.post-content { + /* Breaking for long words in preview region */ + word-break: break-word; + word-break: break-all; + -webkit-hyphens: auto; + hyphens: auto; +} + .post-meta { font-size: 1.4rem; color: #9EABB3;