In general this hasn’t been an issue, as I believe Cornerstone uses negative margins instead of the flex gap
property in general, but I’m noticing that the new Slider element uses the gap
property without a fallback. Because these properties are generated via Javascript, I’m not sure the best way to create a fallback that will work for olde versions of Safari without affecting the spacing of slider items on more modern browsers.
Here are the settings for my marquee “logo bar” slider:
Here’s what I see when I inspect my slider:
.x-slide-container.is-inline {
display: flex;
gap: var(--x-slide-container-gap, 1rem);
}
The latest version of Safari (on MacOS) has support for the gap
property, but it was only a couple versions ago which did not support it, so there are many Safari users who are not seeing proper spacing between flex items that utilize this property.
What would you recommend for ensuring Safari backwards compatibility for the slider element?
Thanks!