fixes #10115: Default carousel controls and Glyphicon controls should behave the same on small devices and up

This commit is contained in:
Mark Otto 2013-09-01 11:03:19 +02:00
parent 62477653e7
commit d28abc4bf1
3 changed files with 14 additions and 9 deletions

View File

@ -6223,7 +6223,8 @@ body.modal-open,
}
@media screen and (min-width: 768px) {
.carousel-control .icon-prev,
.carousel-control .glyphicons-chevron-left,
.carousel-control .glyphicons-chevron-right .icon-prev,
.carousel-control .icon-next {
width: 30px;
height: 30px;

File diff suppressed because one or more lines are too long

View File

@ -186,13 +186,17 @@
@media screen and (min-width: @screen-sm) {
// Scale up the controls a smidge
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 30px;
height: 30px;
margin-top: -15px;
margin-left: -15px;
font-size: 30px;
.carousel-control {
.glyphicons-chevron-left,
.glyphicons-chevron-right
.icon-prev,
.icon-next {
width: 30px;
height: 30px;
margin-top: -15px;
margin-left: -15px;
font-size: 30px;
}
}
// Show and left align the captions