Home:ALL Converter>Gap Polyfill for Styled Components and Gatsby / Safari suport

Gap Polyfill for Styled Components and Gatsby / Safari suport

Ask Time:2021-04-05T23:24:32         Author:Toster

Json Formatter

I'm building website with Gatsby + Styled Components and I would love to use css gap property. unfortunately Safari does not support this property so my layouts end up broken. I could rewrite my css with margins etc, but it doesn't seem right.

Is there any way to add polyfill for gap property with Gatsby and Styled Components?

What I want to achive

  • I would like to use css gap property with suport for Safari

My issue

  • I couldn't find any polyfill that would work with Gatsby and Styled Components

Author:Toster,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/66955398/gap-polyfill-for-styled-components-and-gatsby-safari-suport
yy