mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03:00
clean up horizontal dl option and docs
This commit is contained in:
+2
-12
@@ -126,12 +126,13 @@ dd {
|
||||
}
|
||||
dt {
|
||||
font-weight: bold;
|
||||
line-height: @baseLineHeight - 1; // fix jank Helvetica Neue font bug
|
||||
}
|
||||
dd {
|
||||
margin-left: @baseLineHeight / 2;
|
||||
}
|
||||
// Horizontal layout (like forms)
|
||||
dl.horizontal {
|
||||
.dl-horizontal {
|
||||
dt {
|
||||
float: left;
|
||||
clear: left;
|
||||
@@ -141,17 +142,6 @@ dl.horizontal {
|
||||
dd {
|
||||
margin-left: 130px;
|
||||
}
|
||||
&.horizontal-small {
|
||||
dt { width: 50px; }
|
||||
dd { margin-left: 60px; }
|
||||
}
|
||||
&.horizontal-normal {
|
||||
// no additional styles needed
|
||||
}
|
||||
&.horizontal-large {
|
||||
dt { width: 190px; }
|
||||
dd { margin-left: 200px; }
|
||||
}
|
||||
}
|
||||
|
||||
// MISC
|
||||
|
||||
Reference in New Issue
Block a user