aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Kirsche <[email protected]>2015-08-12 08:09:18 -0400
committerKevin Kirsche <[email protected]>2015-08-12 08:09:18 -0400
commit4f09bbc4eca113ae1e06171c721834ddfce7a6e4 (patch)
tree44e0b26afe3d6388c2d6fc78083f30e625ab6c5e
parentab412b2404d12a3c55d1c4b798bd42ef32e80fab (diff)
downloadbootstrap-4f09bbc4eca113ae1e06171c721834ddfce7a6e4.tar.xz
bootstrap-4f09bbc4eca113ae1e06171c721834ddfce7a6e4.zip
Use @carousel-control-font-size for in min-width sm
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
-rw-r--r--less/carousel.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/less/carousel.less b/less/carousel.less
index 87ed6961d..db995d8d3 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -240,10 +240,10 @@
.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 {