diff --git a/_includes/header.html b/_includes/header.html index c2c9deca0c..f2f1deff86 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,14 +1,14 @@ - + {%- if page.title -%} - {{ page.title }} · {{ site.title }} + {{ page.title | smartify }} · {{ site.title | smartify }} {%- else -%} - {{ site.title }} · {{ site.description }} + {{ site.title | smartify }} · {{ site.description | smartify }} {%- endif -%} diff --git a/_includes/social.html b/_includes/social.html index 68be4d6e9e..277ee2313d 100644 --- a/_includes/social.html +++ b/_includes/social.html @@ -2,14 +2,14 @@ - - + + - - + + diff --git a/_layouts/docs.html b/_layouts/docs.html index a9e2ce5a4d..f876055d72 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -25,8 +25,8 @@ {% endif %}
-

{{ page.title }}

-

{{ page.description }}

+

{{ page.title | smartify }}

+

{{ page.description | smartify }}

{% include ads.html %} {{ content }}
diff --git a/_layouts/simple.html b/_layouts/simple.html index 8e7fc5e30b..dfd9afd167 100644 --- a/_layouts/simple.html +++ b/_layouts/simple.html @@ -4,8 +4,8 @@ layout: default
-

{{ page.title }}

-

{{ page.description }}

+

{{ page.title | smartify }}

+

{{ page.description | smartify }}

{% include ads.html %} {{ content }}
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md index 5b79626a26..eba9fc75f4 100644 --- a/docs/4.0/components/forms.md +++ b/docs/4.0/components/forms.md @@ -1018,6 +1018,46 @@ Custom ` {% endexample %} +You may also choose from small and large custom selects to match our similarly sized text inputs. + +{% example html %} + + + +{% endexample %} + +The `multiple` attribute is also supported: + +{% example html %} + +{% endexample %} + +As is the `size` attribute: + +{% example html %} + +{% endexample %} + ### File browser The file input is the most gnarly of the bunch and require additional JavaScript if you'd like to hook them up with functional *Choose file...* and selected file name text. diff --git a/docs/4.0/components/modal.md b/docs/4.0/components/modal.md index 214ed01169..5a6e000e92 100644 --- a/docs/4.0/components/modal.md +++ b/docs/4.0/components/modal.md @@ -210,7 +210,7 @@ When modals become too long for the user's viewport or device, they scroll indep ### Vertically centered -Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal. **Do not use this with long modals**—it will overflow the viewport and potentially hide parts of your modal. +Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal.