2
0
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:
Mark Otto
2012-03-05 00:42:37 -08:00
parent fb1d4a0f04
commit 7a8d6b1976
5 changed files with 30 additions and 33 deletions
+2 -12
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