diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index ca9c699b61..19e7e271ac 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; } diff --git a/less/carousel.less b/less/carousel.less index b321e5bb5a..83045e541a 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,