hidden{bp}Up media query misses 1px math
See original GitHub issueWhen I have
< Col col={3} hiddenXlDown>...</ Col> < Col col={6} hiddenXlUp>...</ Col>
having xl breakpoint set to 1920
on the exact window width of 1920px none of the elements are showing.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
media query is 1px off - css - Stack Overflow
I found that if I decreased the pixel size one-by-one in the devtool width box and then console-logged window.innerWidth, it reveals what is ......
Read more >CSS Media Min-Width & Max-Width Queries - How They Work
What are css media queries? Learn to use media max width and min width to develop responsive emails for different device sizes.
Read more >Responsive display settings have 1px gap in breakpoints #5221
The fix would be to ensure the frontend styles all use min-width for the toggle styles media queries, rather than a mixture of...
Read more >Approaches to Media Queries in Sass - CSS-Tricks
A first step would be to store that breakpoint in a variable and use it to construct the media query. /* Using plain...
Read more >Using media queries - CSS: Cascading Style Sheets | MDN
Media queries allow you to apply CSS styles depending on a device's general type (such as print vs. screen) or other characteristics such...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @PetroPavlenko, thanks, that is a better implementation, I didn’t focus too closely on the types in my solution. 👍
Hi @dragma Looks like in 3.1 doesn’t contain PR #57 that help with this. So I cannot pull it from npm. Can you bump version with fix ?