I am trying to display a caret on the right side of a bootstrap dropdown button inside a button-group. Here is the code snippet I am using:
<div class="span3 well">
<div class="btn-group btn-block">
<a class="btn btn-primary dropdown-toggle btn-block" data-toggle="dropdown" href="#">
New … <i class="caret pull-right"></i>
</a>
<ul class="dropdown-menu">
<li>1</li>
<li>2</li>
</ul>
</div>
</div>
and
.btn-group .dropdown-toggle {
padding-left: 10px;
padding-right: 10px;
}
While it appears correctly in webkit browsers such as Safari and Chrome, Firefox does not display it properly. Can you help me identify if any errors are present and suggest a solution for consistent display across all browsers?