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
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.
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.
Make sure to include this after the core Bootstrap CSS.
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.
Make sure to include this after the core Bootstrap CSS.
<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.
<section>
should be wrapped as inline.
Add the disabled
attribute on an input to prevent user input and trigger a slightly different look.
<section>
should be wrapped as inline.