From: Bryan Petty Date: Thu, 6 Dec 2012 18:33:00 +0000 (-0700) Subject: Fix code block white-space breaks within pre tags. X-Git-Tag: v2.2.2~11^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4466dd9c72da5604b1aa45c81d2d0e4cac3fad6;p=thirdparty%2Fbootstrap.git Fix code block white-space breaks within pre tags. --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 5ed924b9be..9c0e998440 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -993,6 +993,8 @@ pre.prettyprint { pre code { padding: 0; color: inherit; + white-space: pre; + white-space: pre-wrap; background-color: transparent; border: 0; } diff --git a/less/code.less b/less/code.less index ea1e749ae2..266a926e73 100644 --- a/less/code.less +++ b/less/code.less @@ -47,6 +47,8 @@ pre { code { padding: 0; color: inherit; + white-space: pre; + white-space: pre-wrap; background-color: transparent; border: 0; }