2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

prevent button group buttons from wrapping in tight spaces by removing floats and replacing with font-size: 0; inline-block hack

This commit is contained in:
Mark Otto
2012-06-25 15:46:46 -07:00
parent 78849cf52e
commit 8c2db7d7d6
3 changed files with 53 additions and 14 deletions
+28
View File
@@ -953,6 +953,34 @@
<!-- Button groups
================================================== -->
<div class="page-header">
<h1>Button groups</h1>
</div>
<table class="table table-bordered">
<tbody>
<tr>
<td>
Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue. Donec ullamcorper nulla non metus auctor fringilla. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
</td>
<td>
<div class="btn-group">
<button class="btn">1</button>
<button class="btn">2</button>
<button class="btn">3</button>
<button class="btn">4</button>
</div>
</td>
</tr>
</tbody>
</table>