From 51b2a36b40e261c5d4fc10f0e6d99f0ec80a02d4 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 23 Jul 2011 09:05:16 -0400 Subject: Added a fix for wrapping long lines of text in articles and in the sidebar --- .themes/classic/sass/base/_typography.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.themes/classic/sass/base') 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; +} -- cgit v1.2.1