Commit e38d08d4 authored by RJ Regenold's avatar RJ Regenold
Browse files

fixes jankiness with anchor tags in carousel.

parent baadc33c
2 merge requests!6821Typeahead updater,!6763fixes jankiness with anchor tags in carousel.
Showing with 10 additions and 6 deletions
+10 -6
......@@ -5917,7 +5917,9 @@ a.badge:hover {
transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img {
.carousel-inner > .item > img,
.carousel-inner > .item > a,
.carousel-inner > .item > img > a {
display: block;
line-height: 1;
}
......
......@@ -21,12 +21,14 @@
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 > a {
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