mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 05:03:16 +02:00
Update labels and form grid examples
This commit is contained in:
@@ -3,12 +3,6 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
// todo: turn this into a class
|
||||
label {
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Textual form controls
|
||||
//
|
||||
@@ -75,6 +69,19 @@ label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Labels
|
||||
//
|
||||
|
||||
// For use with horizontal and inline forms, when you need the label text to
|
||||
// align with the form controls.
|
||||
.form-control-label {
|
||||
padding: ($padding-base-vertical + $border-width) $padding-base-horizontal;
|
||||
margin-bottom: 0; // Override the `<label>` default
|
||||
}
|
||||
|
||||
|
||||
// Todo: clear this up
|
||||
|
||||
// Special styles for iOS temporal inputs
|
||||
|
@@ -232,6 +232,7 @@ th {
|
||||
label {
|
||||
// Allow labels can use `margin` for spacing.
|
||||
display: inline-block;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
||||
input,
|
||||
|
Reference in New Issue
Block a user