mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-23 16:08:53 -05:00
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;
|
||||
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 {
|
||||
overflow: hidden;
|
||||
padding-top: 1em;
|
||||
@extend force-wrap;
|
||||
header {
|
||||
position: relative;
|
||||
padding-top: 2em;
|
||||
|
@ -4,6 +4,7 @@
|
||||
aside[role=sidebar] {
|
||||
color: $sidebar-color;
|
||||
text-shadow: lighten($sidebar-bg, 8) 0 1px;
|
||||
@extend .force-wrap;
|
||||
section {
|
||||
@extend .sans;
|
||||
font-size: .8em;
|
||||
|
Loading…
Reference in New Issue
Block a user