Ever been disappointed/pissed off with how Bootstrap handles (read ignores) button formatting on smaller screens? Check this out:
@media (max-width: $screen-xs-max) { | |
.btn-group-responsive { | |
width: 100%; | |
margin-bottom: 10px; | |
.pull-left, .pull-right { float: none; } | |
.btn { | |
border-radius: $btn-border-radius-small !important; | |
display: block; | |
width: 100%; | |
padding-right: 0; | |
padding-left: 0; | |
margin-bottom: 10px; | |
} | |
.btn:last-child { margin-bottom: 0px; } | |
} | |
} |
Top comments (1)
Thanks sooo much! it works great. I think there was just one missing } after the .btn-group-responsive class. Other than that i just added a pixel width and it worked great. Thank you again!