From: S Page Date: Thu, 24 Jul 2014 19:59:02 +0000 (-0700) Subject: Add white-space to get pre to wrap in Firefox X-Git-Tag: 1.31.0-rc.0~14761^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=9d552c0c6f9603ac898b26580d7d2bdd5718d1a6;p=lhc%2Fweb%2Fwiklou.git Add white-space to get pre to wrap in Firefox Change-Id: Ib80c1273e6dd0b6204f2f6d6c15b6a777b79e9d0 --- diff --git a/docs/kss/styleguide-template/public/kss.less b/docs/kss/styleguide-template/public/kss.less index 49411fba08..9e850a3c34 100644 --- a/docs/kss/styleguide-template/public/kss.less +++ b/docs/kss/styleguide-template/public/kss.less @@ -103,6 +103,8 @@ article { color: #999; width: 338px; word-wrap: break-word; + // word-wrap in pre not affecting Firefox, so add white-space. + white-space: pre-wrap; float: left; margin: 0; margin-right: 22px; @@ -135,4 +137,4 @@ article { } } } -} \ No newline at end of file +}