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.
-
- -
-
- -
+ +