1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-28 22:39:11 +02:00

fix #2860: truncate .dl-horizontal terms and reset to stacked for <767px layouts

This commit is contained in:
Mark Otto
2012-03-31 23:53:54 -07:00
parent 452ddc0f0d
commit d652af1097
7 changed files with 42 additions and 0 deletions

View File

@@ -86,6 +86,21 @@
padding: 0;
}
// TYPOGRAPHY
// ----------
// Reset horizontal dl
.dl-horizontal {
dt {
float: none;
clear: none;
width: auto;
text-align: left;
}
dd {
margin-left: 0;
}
}
// GRID & CONTAINERS
// -----------------
// Remove width from containers

View File

@@ -135,6 +135,7 @@ dd {
// Horizontal layout (like forms)
.dl-horizontal {
dt {
.text-overflow();
float: left;
clear: left;
width: 120px;