Commit e38d08d4 authored by RJ Regenold's avatar RJ Regenold

fixes jankiness with anchor tags in carousel.

parent baadc33c
...@@ -5917,7 +5917,9 @@ a.badge:hover { ...@@ -5917,7 +5917,9 @@ 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,
.carousel-inner > .item > img > a {
display: block; display: block;
line-height: 1; line-height: 1;
} }
......
...@@ -21,13 +21,15 @@ ...@@ -21,13 +21,15 @@
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,
> a,
> img > a {
display: block; display: block;
line-height: 1; line-height: 1;
} }
}
> .active, > .active,
> .next, > .next,
......
Markdown is supported
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