From: Erik van der Kolk Date: Sat, 18 Aug 2012 14:41:40 +0000 (+0200) Subject: Improve doc for block level buttons X-Git-Tag: v2.1.0~2^2~29^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b7a02542b5fa46338bc14fd83ca9b84d43c6b55;p=thirdparty%2Fbootstrap.git Improve doc for block level buttons --- diff --git a/docs/base-css.html b/docs/base-css.html index c84a42cf7c..584ce7d078 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1500,11 +1500,14 @@ For example, <code>section</code> should be wrapped as inline.

Create block level buttons—those that span the full width of a parent— by adding .btn-block.

- +
-
<button class="btn btn-large btn-block" type="button">Block level button</button>
+
+<button class="btn btn-large btn-block btn-primary" type="button">Block level button</button>
+<button class="btn btn-large btn-block" type="button">Block level button</button>
+

Disabled state

diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 26a4129a67..02b5afaff5 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1437,11 +1437,14 @@

{{_i}}Create block level buttons—those that span the full width of a parent— by adding .btn-block.{{/i}}

- +
-
<button class="btn btn-large btn-block" type="button">{{_i}}Block level button{{/i}}</button>
+
+<button class="btn btn-large btn-block btn-primary" type="button">{{_i}}Block level button{{/i}}</button>
+<button class="btn btn-large btn-block" type="button">{{_i}}Block level button{{/i}}</button>
+

{{_i}}Disabled state{{/i}}