aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-03-28 16:54:16 -0700
committerChris Rebert <[email protected]>2014-04-03 13:31:55 -0700
commit1c19284a38ffc60c3a89bbda0f2f0355cf687417 (patch)
treecdd9db04358583ac5fed5f2214eaf8f84b4ec95a /docs
parent1759569dbe8d9ebbcfc4bc1b7f87c3fe3e79e4d1 (diff)
downloadbootstrap-1c19284a38ffc60c3a89bbda0f2f0355cf687417.tar.xz
bootstrap-1c19284a38ffc60c3a89bbda0f2f0355cf687417.zip
doc how to change the collapsed mobile navbar breakpoint; fixes #13126
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/components/navbar.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/_includes/components/navbar.html b/docs/_includes/components/navbar.html
index ab78e5853..8f85b73d1 100644
--- a/docs/_includes/components/navbar.html
+++ b/docs/_includes/components/navbar.html
@@ -17,6 +17,10 @@
<h4>Requires JavaScript</h4>
<p>If JavaScript is disabled and the viewport is narrow enough that the navbar collapses, it will be impossible to expand the navbar and view the content within the <code>.navbar-collapse</code>.</p>
</div>
+ <div class="bs-callout bs-callout-info">
+ <h4>Changing the collapsed mobile navbar breakpoint</h4>
+ <p>The navbar collapses into its vertical mobile view when the viewport is narrower than <code>@grid-float-breakpoint</code>, and expands into its horizontal non-mobile view when the viewport is at least <code>@grid-float-breakpoint</code> in width. Adjust this variable in the Less source to control when the navbar collapses/expands. The default value is <code>768px</code> (the smallest "small" or "tablet" screen).</p>
+ </div>
<div class="bs-example">
<nav class="navbar navbar-default" role="navigation">