]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Match .carousel-inner specificity to beat styles
authorRoss Allen <reallen@gmail.com>
Sun, 28 Jul 2013 03:14:49 +0000 (20:14 -0700)
committerRoss Allen <reallen@gmail.com>
Sun, 28 Jul 2013 03:14:49 +0000 (20:14 -0700)
'.carousel ing' was replaced with '.carousel-inner > .item > img' in
3.0 and now loses the specificity war. To make carousel images 500px
tall, match specificity to make carousel.css win.

carousel/carousel.css

index 49f8483a26ba5f312b0a9cb961a1815a41f52a2c..24b96f9c31994b1f7c633dbb3791efc050c3f79c 100644 (file)
@@ -40,7 +40,7 @@ body {
 .carousel .item {
   height: 500px;
 }
-.carousel img {
+.carousel-inner > .item > img {
   position: absolute;
   top: 0;
   left: 0;