diff options
| author | Patrick H. Lauke <[email protected]> | 2016-02-25 11:28:16 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2016-02-25 11:28:16 +0000 |
| commit | 13194ada33c2fb55dce6e4eea528001ac06a9735 (patch) | |
| tree | 9ce84ce4cbe1b97bbbc40539fb86aca518a50c91 /scss | |
| parent | b25f37b783a9eedb5c88eec3c010854c1719bd8d (diff) | |
| parent | c25556e91887f69533580394942d01f18c84d5a0 (diff) | |
| download | bootstrap-13194ada33c2fb55dce6e4eea528001ac06a9735.tar.xz bootstrap-13194ada33c2fb55dce6e4eea528001ac06a9735.zip | |
Merge pull request #19277 from patrickhlauke/v4-dev-forms-fixes#2
Forms fixes: fieldset/legend, new .form-control-legend, accessibility advice
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_forms.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index 729ca764f..9a031c3ac 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -80,6 +80,18 @@ select.form-control { margin-bottom: 0; // Override the `<label>` default } +// +// Legends +// + +// For use with horizontal and inline forms, when you need the legend text to +// be the same size as regular labels, and to align with the form controls. +.form-control-legend { + padding: $input-padding-y $input-padding-x; + margin-bottom: 0; + font-size: $font-size-base; +} + // Todo: clear this up |
