diff options
| author | Mark Otto <[email protected]> | 2013-08-05 09:10:52 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-05 09:10:52 -0700 |
| commit | 6af693d1602d9e4c052c23215ac3130580bfcb17 (patch) | |
| tree | 2f793c1ac5ace9d10644c14ecedb5ddb1addf0a8 /dist/css/bootstrap.css | |
| parent | 41eef69e6f4d86b5a7ead7abb6d20f0bf6c5404c (diff) | |
| download | bootstrap-6af693d1602d9e4c052c23215ac3130580bfcb17.tar.xz bootstrap-6af693d1602d9e4c052c23215ac3130580bfcb17.zip | |
Fixes #8770: mobile-first (stacked by default) horizontal dls
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 61 |
1 files changed, 29 insertions, 32 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index e9c0bc19e..d54996e12 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -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], |
