-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fractional part is not generated when using <
or >
with px
values
#19
Comments
@simevidas see #14 |
To work around that Safari rounding bug, Bootstrap uses a 0.02px difference rather than 0.01px: twbs/bootstrap#25177. Perhaps that would work here? |
andersk
added a commit
to andersk/postcss-media-minmax
that referenced
this issue
Feb 4, 2021
According to the Bootstrap developers, using .02px rather than .01px should be sufficient to work around the Safari rounding bug. Fixes postcss#19. Signed-off-by: Anders Kaseorg <[email protected]>
yisibl
pushed a commit
that referenced
this issue
Jul 15, 2022
According to the Bootstrap developers, using .02px rather than .01px should be sufficient to work around the Safari rounding bug. Fixes #19. Signed-off-by: Anders Kaseorg <[email protected]>
andersk
added a commit
to andersk/postcss-media-minmax
that referenced
this issue
Jul 15, 2022
According to the Bootstrap developers, using .02px rather than .01px should be sufficient to work around the Safari rounding bug. Fixes postcss#19. Signed-off-by: Anders Kaseorg <[email protected]>
The WebKit bug has been fixed in Safari 15.4 a few months ago: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm testing this plugin on Codepen. (Click on the icon in the top right corner of the CSS panel, and then click "View compiled CSS.")
Source:
Generated:
Could you explain why the plugin generates
599px
instead of599.999px
, like with theem
value? This is needed because without it, values between599px
and600px
aren't included in the media query, but they should be according towidth < 600px
.The text was updated successfully, but these errors were encountered: