Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[breakpoints] fix down function, eliminate 1px overlap with specified…
… breakpoint (#6504) * Fix breakpoint's down function - Should be consistent with the only function and set a max-width of 1 pixel less than the size of the specified breakpoint so that there isn't an overlap of 1 pixel. * [breakpoints] down: - use step instead of 1px * [breakpoints] - Down, Between - Removing a pixel is too much. In Chrome and Edge inspectors, a viewport of 599 is actually 599.2. We only need to ensure that it is less than 600. - Subtract 1 percent of our step in Down and Between. * [breakpoints] - down, between, only: - update test to check for new max widths - max-width will be 0.01 pixel less than the next breakpoint
- Loading branch information