diff options
| author | Mark Otto <[email protected]> | 2013-07-01 19:42:26 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-01 19:42:43 -0700 |
| commit | 08b3515fd7dfa76cdbb92d52a15d6797f3a1c4ed (patch) | |
| tree | 1412b54e3aacff4c00f0efb85b0175e423caf870 /docs/assets/css/bootstrap.css | |
| parent | 9da90adb4ca09e4c3b5ec549211c07292ec38d71 (diff) | |
| download | bootstrap-08b3515fd7dfa76cdbb92d52a15d6797f3a1c4ed.tar.xz bootstrap-08b3515fd7dfa76cdbb92d52a15d6797f3a1c4ed.zip | |
fixes #8345: use inline-block on .img-responsive
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 24d2b690c..cb80d5c36 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -329,7 +329,7 @@ img { } .img-responsive { - display: block; + display: inline-block; height: auto; max-width: 100%; } @@ -3957,19 +3957,15 @@ button.close { transition: all 0.2s ease-in-out; } -.thumbnail > img, -.img-thumbnail { - display: block; - height: auto; - max-width: 100%; -} - .thumbnail { display: block; } +.thumbnail > img, .img-thumbnail { display: inline-block; + height: auto; + max-width: 100%; } a.thumbnail:hover, @@ -4308,7 +4304,7 @@ a.list-group-item.active > .badge, .carousel-inner > .item > img, .carousel-inner > .item > a > img { - display: block; + display: inline-block; height: auto; max-width: 100%; line-height: 1; |
