0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-18 15:54:26 +01:00

Merge pull request #6763 from rjregenold/2.3.0-wip

fixes jankiness with anchor tags in carousel.
This commit is contained in:
Mark Otto 2013-02-02 12:35:39 -08:00
commit dbe8aed76e
2 changed files with 8 additions and 6 deletions

View File

@ -5919,7 +5919,8 @@ a.badge:hover {
transition: 0.6s ease-in-out left; transition: 0.6s ease-in-out left;
} }
.carousel-inner > .item > img { .carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block; display: block;
line-height: 1; line-height: 1;
} }

View File

@ -21,12 +21,13 @@
display: none; display: none;
position: relative; position: relative;
.transition(.6s ease-in-out left); .transition(.6s ease-in-out left);
}
// Account for jankitude on images // Account for jankitude on images
> .item > img { > img,
display: block; > a > img {
line-height: 1; display: block;
line-height: 1;
}
} }
> .active, > .active,