diff options
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less index d78784897..af575db22 100644 --- a/less/forms.less +++ b/less/forms.less @@ -299,6 +299,8 @@ textarea { // // Requires wrapping inputs and labels with `.form-group` for proper display of // default HTML form controls and our custom form controls (e.g., input groups). +// +// Heads up! This is mixin-ed into `.navbar-form` in navbars.less. .form-inline { @@ -311,6 +313,11 @@ textarea { vertical-align: middle; } + // In navbar-form, allow folks to *not* use `.form-group` + .form-control { + display: inline-block; + } + // Remove default margin on radios/checkboxes that were used for stacking, and // then undo the floating of radios and checkboxes to match (which also avoids // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969). |
