Commit dbe8aed7 authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #6763 from rjregenold/2.3.0-wip

fixes jankiness with anchor tags in carousel.
parents 0bfbf144 2f44d8d2
1 merge request!6821Typeahead updater
Showing with 8 additions and 6 deletions
+8 -6
......@@ -5919,7 +5919,8 @@ a.badge:hover {
transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img {
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
line-height: 1;
}
......
......@@ -21,12 +21,13 @@
display: none;
position: relative;
.transition(.6s ease-in-out left);
}
// Account for jankitude on images
> .item > img {
display: block;
line-height: 1;
// Account for jankitude on images
> img,
> a > img {
display: block;
line-height: 1;
}
}
> .active,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment