mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Fixes #8770: mobile-first (stacked by default) horizontal dls
This commit is contained in:
Vendored
+29
-32
@@ -564,38 +564,35 @@ dd {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.dl-horizontal dt {
|
||||
float: left;
|
||||
width: 160px;
|
||||
overflow: hidden;
|
||||
clear: left;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dl-horizontal dd {
|
||||
margin-left: 180px;
|
||||
}
|
||||
|
||||
.dl-horizontal dd:before,
|
||||
.dl-horizontal dd:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
|
||||
.dl-horizontal dd:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dl-horizontal dd:before,
|
||||
.dl-horizontal dd:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
|
||||
.dl-horizontal dd:after {
|
||||
clear: both;
|
||||
@media (min-width: 768px) {
|
||||
.dl-horizontal dt {
|
||||
float: left;
|
||||
width: 160px;
|
||||
overflow: hidden;
|
||||
clear: left;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.dl-horizontal dd {
|
||||
margin-left: 180px;
|
||||
}
|
||||
.dl-horizontal dd:before,
|
||||
.dl-horizontal dd:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
.dl-horizontal dd:after {
|
||||
clear: both;
|
||||
}
|
||||
.dl-horizontal dd:before,
|
||||
.dl-horizontal dd:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
.dl-horizontal dd:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
abbr[title],
|
||||
|
||||
Reference in New Issue
Block a user