aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-05-22 23:01:42 -0700
committerMark Otto <[email protected]>2014-05-22 23:01:42 -0700
commitd66b65ddde1b2f1a5cb14f601d30c552c79d7626 (patch)
treed7f07c493e959cebd256939bf28bcbf4af468a28 /docs/_includes
parent91d51d3fba1cc2f80138bb2858ce67c28c9c8a89 (diff)
parent10e9fef85c6afde2b3804df928d9351b0f110a6c (diff)
downloadbootstrap-d66b65ddde1b2f1a5cb14f601d30c552c79d7626.tar.xz
bootstrap-d66b65ddde1b2f1a5cb14f601d30c552c79d7626.zip
Merge branch 'master' into icon_paths
Conflicts: dist/css/bootstrap.css.map docs/dist/css/bootstrap.css.map
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/css/tables.html12
-rw-r--r--docs/_includes/header.html6
-rw-r--r--docs/_includes/js/affix.html2
3 files changed, 18 insertions, 2 deletions
diff --git a/docs/_includes/css/tables.html b/docs/_includes/css/tables.html
index affe17ffa..655545112 100644
--- a/docs/_includes/css/tables.html
+++ b/docs/_includes/css/tables.html
@@ -349,6 +349,18 @@
<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 that we <strong>don't</strong> provide in Bootstrap:</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">
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index 182664d5a..b21969451 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -15,6 +15,10 @@
<!-- Bootstrap core CSS -->
<link href="../dist/css/bootstrap.min.css" rel="stylesheet">
+{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
+ <!-- Optional Bootstrap Theme -->
+ <link href="data:text/css;charset=utf-8," data-href="../dist/css/bootstrap-theme.min.css" rel="stylesheet" id="bs-theme-stylesheet">
+{% endif %}
<!-- Documentation extras -->
<link href="../assets/css/docs.min.css" rel="stylesheet">
@@ -31,7 +35,7 @@
<!-- Favicons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
-<link rel="icon" href="../assets/ico/favicon.ico">
+<link rel="shortcut icon" href="../assets/ico/favicon.ico">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
diff --git a/docs/_includes/js/affix.html b/docs/_includes/js/affix.html
index 5b6fec0bb..4ce51cb34 100644
--- a/docs/_includes/js/affix.html
+++ b/docs/_includes/js/affix.html
@@ -7,7 +7,7 @@
<hr class="bs-docs-separator">
<h2 id="affix-usage">Usage</h2>
- <p>Use the affix plugin via data attributes or manually with your own JavaScript. <strong>In both situations, you must provide CSS for the positioning of your content.</strong></p>
+ <p>Use the affix plugin via data attributes or manually with your own JavaScript. <strong class="text-danger">In both situations, you must provide CSS for the positioning and width of your affixed content.</strong></p>
<h3>Positioning via CSS</h3>
<p>The affix plugin toggles between three classes, each representing a particular state: <code>.affix</code>, <code>.affix-top</code>, and <code>.affix-bottom</code>. You must provide the styles for these classes yourself (independent of this plugin) to handle the actual positions.</p>