diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 7f2526f211..c2446d0fe4 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -295,6 +295,11 @@ body { } /* Forms */ +.bs-example.form-inline select, +.bs-example.form-inline input[type="text"], +.bs-example.form-inline input[type="password"] { + width: 180px; +} .bs-example-control-sizing input[type="text"] + input[type="text"] { margin-top: 10px; } diff --git a/docs/components.html b/docs/components.html index d192156dc9..66573758ab 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1176,18 +1176,18 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
{% highlight html %} {% endhighlight %} -

Align nav links, search form, or text, use the .pull-left or .pull-right utility classes. Both classes will add a CSS float in the specified direction.

+

Align nav links, forms, buttons, or text, using the .pull-left or .pull-right utility classes. Both classes will add a CSS float in the specified direction. To align nav links, put them in a separate <ul> with the respective utility class applied.

Optional display variations

@@ -1215,16 +1215,9 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na

Body padding required

-

The fixed navbar will overlay your other content, unless you add padding to the top of the <body>. The navbar itself has a height of 54px by default. At 768px and above, its height shrinks to 50px. Try out your own values or use our snippet below:

+

The fixed navbar will overlay your other content, unless you add padding to the top of the <body>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.

{% highlight css %} -body { - padding-top: 64px; -} -@media screen and (min-width: 768px) { - body { - padding-top: 60px; - } -} +body { padding-top: 70px; } {% endhighlight %}

Make sure to include this after the core Bootstrap CSS.

@@ -1251,16 +1244,9 @@ body {

Body padding required

-

The fixed navbar will overlay your other content, unless you add padding to the bottom of the <body>. The navbar itself has a height of 54px by default. At 768px and above, its height shrinks to 50px. Try out your own values or use our snippet below:

+

The fixed navbar will overlay your other content, unless you add padding to the bottom of the <body>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.

{% highlight css %} -body { - padding-bottom: 64px; -} -@media screen and (min-width: 768px) { - body { - padding-bottom: 60px; - } -} +body { padding-bottom: 70px; } {% endhighlight %}

Make sure to include this after the core Bootstrap CSS.

diff --git a/docs/css.html b/docs/css.html index f0ac78118a..8f86b48b83 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.
-
- -
-
- -
+ +