aboutsummaryrefslogtreecommitdiff
path: root/less/variables.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-04 22:32:56 -0800
committerMark Otto <[email protected]>2013-12-04 22:32:56 -0800
commit45930acdf7b7d03842011b1d20779f1762e99c30 (patch)
tree77d3fc1912bdb0cbeb1dab5125679553871da313 /less/variables.less
parentcf81cb60ef9e29fd5b97c7a7d213dbf80cad0be6 (diff)
downloadbootstrap-45930acdf7b7d03842011b1d20779f1762e99c30.tar.xz
bootstrap-45930acdf7b7d03842011b1d20779f1762e99c30.zip
Fixes #11610: Add @grid-float-breakpoint-max to better link navbar behavior across viewports and improve customization.
Also addresses #10371, #10395, and #10465.
Diffstat (limited to 'less/variables.less')
-rw-r--r--less/variables.less7
1 files changed, 6 insertions, 1 deletions
diff --git a/less/variables.less b/less/variables.less
index 1775be080..8b5f2184d 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -247,8 +247,13 @@
@grid-columns: 12;
// Padding, to be divided by two and applied to the left and right of all columns
@grid-gutter-width: 30px;
-// Point at which the navbar stops collapsing
+
+// Navbar collapse
+
+// Point at which the navbar becomes uncollapsed
@grid-float-breakpoint: @screen-sm-min;
+// Point at which the navbar begins collapsing
+@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
// Navbar