我有以下代码:
<div class="container"> <ul class="list-group"> <li class="list-group-item"> userA <span class="label label-default">admin</span> <span class="pull-right button-group"> <a href="/admin/userA" class="btn btn-primary"><span class="glyphicon glyphicon-edit"></span> Edit</a> <button type="button" class="btn btn-danger"><span class="glyphicon glyphicon-remove"></span> Delete</button> </span> </li> </ul> </div>
我想让盒子更大,使按钮适合,同时保持文本/标签垂直居中.或者,将按钮向上移动到框内也行.我正在使用bootstrap 3.2.欢迎任何建议.谢谢.