diff options
Diffstat (limited to 'docs/_includes/css')
| -rw-r--r-- | docs/_includes/css/tables.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/_includes/css/tables.html b/docs/_includes/css/tables.html index affe17ffa..d9a1cd2cf 100644 --- a/docs/_includes/css/tables.html +++ b/docs/_includes/css/tables.html @@ -349,6 +349,20 @@ <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"> + <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:</p> +{% highlight css %} +@-moz-document url-prefix() { + fieldset { + display: table-cell; + } +} +{% endhighlight %} + <p>For more information, read <a href="http://stackoverflow.com/questions/17408815/fieldset-resizes-wrong-appears-to-have-unremovable-min-width-min-content/17863685#17863685">this Stack Overflow answer</a>.</p> + </div> + <div class="bs-example"> <div class="table-responsive"> <table class="table"> |
