mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
fix legend margin collapse
This commit is contained in:
@@ -28,7 +28,6 @@ legend {
|
||||
color: @grayDark;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
-webkit-margin-collapse: separate;
|
||||
}
|
||||
|
||||
// Set font for forms
|
||||
@@ -490,7 +489,8 @@ select:focus:required:invalid {
|
||||
.form-horizontal {
|
||||
// Legend collapses margin, so we're relegated to padding
|
||||
legend + .control-group {
|
||||
padding-top: @baseLineHeight * 1.5;
|
||||
margin-top: @baseLineHeight;
|
||||
-webkit-margin-top-collapse: separate;
|
||||
}
|
||||
// Increase spacing between groups
|
||||
.control-group {
|
||||
|
||||
Reference in New Issue
Block a user