Break long words to new line.

Closes #16
This commit is contained in:
John O'Nolan 2013-08-19 13:09:56 +02:00 committed by Hannah Wolfe
parent 73fc435125
commit fd4aebe2e2

View file

@ -76,6 +76,22 @@ a:hover {
margin: 0 auto; 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 { .post-meta {
font-size: 1.4rem; font-size: 1.4rem;
color: #9EABB3; color: #9EABB3;