bootstrap
bootstrap copied to clipboard
In 2.0 pull-right doesn't work with responsive included
I have a span which looks like
<span class="span2 pull-right">...</span>
It does not go to the right side. From what I see in the Dev tools on Chrome and equivalent on other browsers, bootstrap-responsive.css overrides the float in [class*="span"].
Right now, you cannot mix the .pull-right and .span* classes like that. To get around it, however, you can redeclare the .pull-right class after the responsive CSS to give it more specificity and thus override the unfloating.
Here is a proposed fix for this issue:
Add this to your .css
// from 768px upwards:
@media (min-width: 768px) {
.pull-right { float: right; }
}