1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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) { @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 { .carousel-control .icon-next {
width: 30px; width: 30px;
height: 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) { @media screen and (min-width: @screen-sm) {
// Scale up the controls a smidge // Scale up the controls a smidge
.carousel-control .icon-prev, .carousel-control {
.carousel-control .icon-next { .glyphicons-chevron-left,
width: 30px; .glyphicons-chevron-right
height: 30px; .icon-prev,
margin-top: -15px; .icon-next {
margin-left: -15px; width: 30px;
font-size: 30px; height: 30px;
margin-top: -15px;
margin-left: -15px;
font-size: 30px;
}
} }
// Show and left align the captions // Show and left align the captions