diff options
| author | Mark Otto <[email protected]> | 2013-06-17 14:19:44 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-06-17 14:21:16 -0700 |
| commit | 37f4a25be436e8b25004d22541809032d8354600 (patch) | |
| tree | b8e4d5d90c451dd8fa6525e48cea0a9d2a8b8003 /docs/assets/css/bootstrap.css | |
| parent | 4436e727ed52e45db2f5db9bf4efcea4ba8c64c3 (diff) | |
| download | bootstrap-37f4a25be436e8b25004d22541809032d8354600.tar.xz bootstrap-37f4a25be436e8b25004d22541809032d8354600.zip | |
Better clearing on `.dl-horizontal` for empty `dd` elements
Instead of clearing the entire `.dl-horizontal`, we've moved the
clearfix mixin to the `dd` level to solve two problems in one: empty
`dd`s mid-list, and empty `dd` as the last child.
Addresses a few old issues, including #2824, #3819, #3821, #4062,
#6707, and #7180.
Sorry that took so long :D.
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 04d5bc1fd..a99125994 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -548,38 +548,38 @@ dd { margin-left: 10px; } -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: " "; +.dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; } -.dl-horizontal:after { - clear: both; +.dl-horizontal dd { + margin-left: 180px; } -.dl-horizontal:before, -.dl-horizontal:after { +.dl-horizontal dd:before, +.dl-horizontal dd:after { display: table; content: " "; } -.dl-horizontal:after { +.dl-horizontal dd:after { clear: both; } -.dl-horizontal dt { - float: left; - width: 160px; - overflow: hidden; - clear: left; - text-align: right; - text-overflow: ellipsis; - white-space: nowrap; +.dl-horizontal dd:before, +.dl-horizontal dd:after { + display: table; + content: " "; } -.dl-horizontal dd { - margin-left: 180px; +.dl-horizontal dd:after { + clear: both; } hr { |
