mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
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
This commit is contained in:
+3
-3
@@ -240,10 +240,10 @@
|
|||||||
.glyphicon-chevron-right,
|
.glyphicon-chevron-right,
|
||||||
.icon-prev,
|
.icon-prev,
|
||||||
.icon-next {
|
.icon-next {
|
||||||
width: 30px;
|
width: (@carousel-control-font-size * 1.5);
|
||||||
height: 30px;
|
height: (@carousel-control-font-size * 1.5);
|
||||||
margin-top: -15px;
|
margin-top: -15px;
|
||||||
font-size: 30px;
|
font-size: (@carousel-control-font-size * 1.5);
|
||||||
}
|
}
|
||||||
.glyphicon-chevron-left,
|
.glyphicon-chevron-left,
|
||||||
.icon-prev {
|
.icon-prev {
|
||||||
|
|||||||
Reference in New Issue
Block a user