-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
media-breakpoint-down is off by 1px #18845
Comments
Unsure what you're running into, but it works fine on my end. Can you create a jsbin example that reproduces what you're seeing? |
Sorry, I don't know how to use jsbin to do a demo because i'm using the scss mixin and not the css class, but the demo is very simple. html
scss
In this demo at the screen width 767 the background is not red and neither green. I suppose this problem occur for each breakpoint |
@kickinass Seems like you're using an older version of bootstrap 4 that uses rems and not pixels for the breakpoint widths. Can you try upgrading and see if the issue disappears? |
Yes, the grid breakpoint is in rem, I started this project one month ago or little more, and downloaded the framework from the official site. I'll try to upgrade, I hope nothing will break! :) |
Ok, no problem now! |
Bootstrap 4 - mixin/breakpoint
Hy guys,
I don't know if I am using mixin in a bad way, but I just discover that this instruction don't work in the way I supposed.
I assumed that this style will be applied from 0 to 767 pixel screen, but it will from 0 to 766.
I change the function breakpoint-max on breakpoint.scss in this way (-0.05 instead of -0.1):
and it seem to work fine but i don't know if mess with all the other
Nice work,
I love you!
Alessandro
The text was updated successfully, but these errors were encountered: