Check out this sample code snippet: http://jsfiddle.net/52VtD/7243/
<div class="panel panel-default">
<div class="panel-heading">
<ul class="list-unstyled pull-right list-inline">
<li>
<button type="submit" class="btn btn-xs btn-default">Archive</button>
</li>
</ul>
</div>
<div class="panel-body">
<img src="https://ssl.gstatic.com/accounts/ui/avatar_2x.png" alt="..." width="80px" height="80px" class="img-circle"/>
<h4>John Doe</h4>
</div>
</div>
I'm facing an issue where the panel header doesn't adjust to fit the buttons properly. I suspect it might be due to the float property I've used. Any suggestions on where the problem lies and why this behavior is occurring?