パネルヘッダーにボタングループがあります。それらを右にフロートさせたいのですが、これを行うと、ボタンがヘッダーの下部にあるため、中央に配置する必要があります。どうすればいいですか?
HTMLは次のとおりです。
<div class="panel panel-default">
<div class="panel-heading">
Member of the following Units
<div class="btn-group btn-group-sm">
<button type="button" class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span></button>
<button type="button" class="btn btn-danger" ><span class="glyphicon glyphicon-remove-circle"></span></button>
</div>
</div>
<div class="panel-body">
test
</div>
<div class="panel-footer">
test
</div>
</div>
フィドルの例: http://jsfiddle.net/snowburnt/4ejuK/
奇妙なことに、クロム上の私の Linux 開発環境では、ボタン自体は適切に中央に配置されていますが、ボタン内のアイコンは本来あるべき位置よりも低くなっています。これにより、これらの問題の両方が解決されると感じています。