Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use of @screen-xs-max in navbars.less #10371

Closed
bassjobsen opened this issue Sep 2, 2013 · 1 comment
Closed

use of @screen-xs-max in navbars.less #10371

bassjobsen opened this issue Sep 2, 2013 · 1 comment

Comments

@bassjobsen
Copy link
Contributor

@screen-xs-max is used to style the dropdown menus when collapsed. In the default situation this works cause @screen-xs-max = @grid-float-breakpoint-1 = 767. This breaks when changing @grid-float-breakpoint (b.e. to 0 for a non-responsive version).

Solution define a new variable: max(0,grid-float-breakpoint-1) and use this stead of screen-xs-max in navbars.less.

I don't know if the max() function works, see: less/less.js#1371

@cvrebert
Copy link
Collaborator

Closing in favor of your pull request.

mdo added a commit that referenced this issue Dec 5, 2013
…havior across viewports and improve customization.

Also addresses #10371, #10395, and #10465.
stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
…k navbar behavior across viewports and improve customization.

Also addresses twbs#10371, twbs#10395, and twbs#10465.
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
…k navbar behavior across viewports and improve customization.

Also addresses twbs#10371, twbs#10395, and twbs#10465.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants