aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/sass/base
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-23 09:05:16 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-23 09:06:47 -0400
commit51b2a36b40e261c5d4fc10f0e6d99f0ec80a02d4 (patch)
tree5c56d0b03c32a548cfe6726a96ff054c766ef39e /.themes/classic/sass/base
parentfe074b2c1b08046d26c5f191889743ef4115bc55 (diff)
downloadmy_new_personal_website-51b2a36b40e261c5d4fc10f0e6d99f0ec80a02d4.tar.xz
my_new_personal_website-51b2a36b40e261c5d4fc10f0e6d99f0ec80a02d4.zip
Added a fix for wrapping long lines of text in articles and in the sidebar
Diffstat (limited to '.themes/classic/sass/base')
-rw-r--r--.themes/classic/sass/base/_typography.scss9
1 files changed, 8 insertions, 1 deletions
diff --git a/.themes/classic/sass/base/_typography.scss b/.themes/classic/sass/base/_typography.scss
index 06d1a989..10cc28f2 100644
--- a/.themes/classic/sass/base/_typography.scss
+++ b/.themes/classic/sass/base/_typography.scss
@@ -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;
+}