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

fixes jankiness with anchor tags in carousel.

parent baadc33c
Showing with 10 additions and 6 deletions
+10 -6
...@@ -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,12 +21,14 @@ ...@@ -21,12 +21,14 @@
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,
line-height: 1; > img > a {
display: block;
line-height: 1;
}
} }
> .active, > .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