Skip to content

Commit

Permalink
Document that responsive tables use overflow-y: hidden
Browse files Browse the repository at this point in the history
Closes twbs#15288

[skip sauce]
  • Loading branch information
cvrebert authored and wilsaj committed Apr 26, 2015
1 parent d04fa0d commit e4a2fa7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/_includes/css/tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ <h4>Conveying meaning to assistive technologies</h4>
<h2 id="tables-responsive">Responsive tables</h2>
<p>Create responsive tables by wrapping any <code>.table</code> in <code>.table-responsive</code> to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.</p>

<div class="bs-callout bs-callout-warning" id="callout-tables-responsive-overflow">
<h4>Vertical clipping/truncation</h4>
<p>Responsive tables make use of <code>overflow-y: hidden</code>, which clips off any content that goes beyond the bottom or top edges of the table. In particular, this can clip off dropdown menus and other third-party widgets.</p>
</div>
<div class="bs-callout bs-callout-warning" id="callout-tables-responsive-ff-fieldset">
<h4>Firefox and fieldsets</h4>
<p>Firefox has some awkward fieldset styling involving <code>width</code> that interferes with the responsive table. This cannot be overriden without a Firefox-specific hack that we <strong>don't</strong> provide in Bootstrap:</p>
Expand Down

0 comments on commit e4a2fa7

Please sign in to comment.