diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index c0c5ac91e37b6495571b6ee94f50021b3d030193..e09e1e23a06ebe7d8e3a96b4909e0270d607d2e5 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -5917,7 +5917,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;
 }
diff --git a/less/carousel.less b/less/carousel.less
index b321e5bb5a0f9e72ccd7489266d5bdd9a3865c67..83045e541acf07c7ea5539720f0954c32e6b2ecb 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -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,