]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use @carousel-control-font-size for in min-width sm 16975/head
authorKevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
Wed, 12 Aug 2015 12:09:18 +0000 (08:09 -0400)
committerKevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
Wed, 12 Aug 2015 12:09:18 +0000 (08:09 -0400)
Fix #16973

As 30px was hard coded for the following attribute values: `width`, `height`, and `font-size`, I have used the same pixel formula for each of these three as the `@carousel-control-width` is a percent value not a pixel value in variables.less

less/carousel.less

index 87ed6961d46ebdddc2e37223915b6131848421e0..db995d8d337d72d5f7640b9e2509a079673b097f 100644 (file)
     .glyphicon-chevron-right,
     .icon-prev,
     .icon-next {
-      width: 30px;
-      height: 30px;
+      width: (@carousel-control-font-size * 1.5);
+      height: (@carousel-control-font-size * 1.5);
       margin-top: -15px;
-      font-size: 30px;
+      font-size: (@carousel-control-font-size * 1.5);
     }
     .glyphicon-chevron-left,
     .icon-prev {