From 45f62f9589c50175161b627d0f5b6f34ee8592aa Mon Sep 17 00:00:00 2001 From: Robert Burns Date: Tue, 14 May 2013 08:33:49 -0400 Subject: [PATCH] Cleanup form-inline examples in docs --- docs/assets/css/docs.css | 5 +++++ docs/css.html | 34 +++++++++++++++------------------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 3a93a01cfa..b08437a0ef 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -288,6 +288,11 @@ body { margin: 0; } +.bs-example.form-inline input:not([type=checkbox]):not([type=radio]), +.bs-example.form-inline select { + width: 180px; +} + /* List groups */ .bs-example > .list-group { max-width: 400px; diff --git a/docs/css.html b/docs/css.html index 520a252af6..6a123c9474 100644 --- a/docs/css.html +++ b/docs/css.html @@ -1051,8 +1051,8 @@ For example, <section> should be wrapped as inline.

Inputs, selects, and textareas are 100% wide by default in Bootstrap. To use the inline form, you'll have to set a width on the form controls used within.

- - + +
-
+
{% highlight html %} @@ -1281,7 +1281,7 @@ For example, <section> should be wrapped as inline.

Disabled inputs

Add the disabled attribute on an input to prevent user input and trigger a slightly different look.

-
+
{% highlight html %} @@ -1303,14 +1303,10 @@ For example, <section> should be wrapped as inline.
-
- -
-
- -
+ +