Replies: 2 comments 1 reply
-
But gap, column-gap and row-gap are supported in Safari since 12.1, prefixed since 10.1, in grid layouts. And that is how TailwindCSS uses gaps. Here's my Safari showing gaps just fine: |
Beta Was this translation helpful? Give feedback.
-
Sure, but on Chrome using gap-x-2 works in flex context, it doesn't require grid layout to work, but on Safari this isn't supported.. only works in grid layout |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://tailwindcss.com/docs/browser-support does not mention anywhere that Safari is problematic except where it says that
Certain features such as focus-visible are included but not supported natively by all modern browsers.
For example, both https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior and https://developer.mozilla.org/en-US/docs/Web/CSS/gap are not supported by Safari
But there is zero mention of this on https://tailwindcss.com/docs/overscroll-behavior and https://tailwindcss.com/docs/gap
I remember reading somewhere (can't remember where now) that Safari doesn't support overscroll, but this should be mentioned at the very least in https://tailwindcss.com/docs/overscroll-behavior and I would appreciate a list of TailwindCSS directives that are not supported by Safari in one central place, ideally on https://tailwindcss.com/docs/browser-support
I just learned the hard way that Safari doesn't support https://tailwindcss.com/docs/gap after I've already sprinkled it all over my code and now I need to spend time figuring out a solution or replacing it entirely
Beta Was this translation helpful? Give feedback.
All reactions