1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Add margin to thumbnails for proper spacing

Hadn't thought about this until fixes #10137, but it makes sense I
think to have margin on the bottom of thumbnails for spacing when
stacking (or using different grid tiers).
This commit is contained in:
Mark Otto 2013-08-26 17:48:32 -07:00
parent dd9980e8c9
commit 7796e645c9
3 changed files with 3 additions and 1 deletions

View file

@ -5010,6 +5010,7 @@ a.list-group-item.active > .badge,
height: auto; height: auto;
max-width: 100%; max-width: 100%;
padding: 4px; padding: 4px;
margin-bottom: 20px;
line-height: 1.428571429; line-height: 1.428571429;
background-color: #ffffff; background-color: #ffffff;
border: 1px solid #dddddd; border: 1px solid #dddddd;

File diff suppressed because one or more lines are too long

View file

@ -7,6 +7,7 @@
.thumbnail { .thumbnail {
.img-thumbnail(); .img-thumbnail();
display: block; // Override the inline-block from `.img-thumbnail` display: block; // Override the inline-block from `.img-thumbnail`
margin-bottom: @line-height-computed;
> img { > img {
.img-responsive(); .img-responsive();