clean up horizontal dl option and docs

This commit is contained in:
Mark Otto 2012-03-05 00:42:37 -08:00
parent fb1d4a0f04
commit 7a8d6b1976
5 changed files with 30 additions and 33 deletions

View file

@ -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