mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-27 04:14:00 +00:00
Add form-control-legend
This commit is contained in:
parent
255e89b241
commit
727722da59
1 changed files with 12 additions and 0 deletions
|
|
@ -80,6 +80,18 @@ select.form-control {
|
||||||
margin-bottom: 0; // Override the `<label>` default
|
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
|
// Todo: clear this up
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue