Added a fix for wrapping long lines of text in articles and in the sidebar
This commit is contained in:
parent
fe074b2c1b
commit
51b2a36b40
@ -134,4 +134,11 @@ blockquote {
|
|||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
line-height: 1.45em;
|
line-height: 1.45em;
|
||||||
}
|
}
|
||||||
|
/* @extend this to force long lines of continuous text to wrap */
|
||||||
|
.force-wrap {
|
||||||
|
white-space: -moz-pre-wrap;
|
||||||
|
white-space: -pre-wrap;
|
||||||
|
white-space: -o-pre-wrap;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
article {
|
article {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
|
@extend force-wrap;
|
||||||
header {
|
header {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 2em;
|
padding-top: 2em;
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
aside[role=sidebar] {
|
aside[role=sidebar] {
|
||||||
color: $sidebar-color;
|
color: $sidebar-color;
|
||||||
text-shadow: lighten($sidebar-bg, 8) 0 1px;
|
text-shadow: lighten($sidebar-bg, 8) 0 1px;
|
||||||
|
@extend .force-wrap;
|
||||||
section {
|
section {
|
||||||
@extend .sans;
|
@extend .sans;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
|
Loading…
Reference in New Issue
Block a user