diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index db1cb17783..e47805d37b 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -348,6 +348,12 @@ body { .bs-example-control-sizing input[type="text"] + input[type="text"] { margin-top: 10px; } +.bs-example-form { + overflow: hidden; +} +.bs-example-form .input-group { + margin-bottom: 10px; +} /* List groups */ .bs-example > .list-group { diff --git a/docs/css.html b/docs/css.html index 7cc50602e8..6b6695464d 100644 --- a/docs/css.html +++ b/docs/css.html @@ -1516,7 +1516,7 @@ For example, <section> should be wrapped as inline.

Avoid using <select> elements here as they cannot be fully styled in WebKit browsers.

-
+
@ @@ -1553,7 +1553,7 @@ For example, <section> should be wrapped as inline.

Optional sizes

Add the relative form sizing classes to the `.input-group-addon`.

- +
@ @@ -1588,7 +1588,7 @@ For example, <section> should be wrapped as inline.

Buttons instead of text

Buttons in input groups are a bit different and require one extra level of nesting. Instead of .input-group-addon, you'll need to use .input-group-btn to wrap the buttons. This is required due to default browser styles that cannot be overridden.

- +
@@ -1621,7 +1621,7 @@ For example, <section> should be wrapped as inline.

Button dropdowns

- +
@@ -1681,7 +1681,7 @@ For example, <section> should be wrapped as inline. {% endhighlight %}

Segmented dropdown groups

- +