Skip to content

Commit

Permalink
fixes #10115: Default carousel controls and Glyphicon controls should…
Browse files Browse the repository at this point in the history
… behave the same on small devices and up
  • Loading branch information
mdo committed Sep 1, 2013
1 parent 6247765 commit d28abc4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
3 changes: 2 additions & 1 deletion dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

18 changes: 11 additions & 7 deletions less/carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d28abc4

Please sign in to comment.