Display problem
Hello, I have a problem with the rendering of the browser view when Safari is used, but it works on other browsers. Do you have any idea how I can fix this?
4 Replies
Up
Safari is known for having some weird issues with style.
Maybe in your case you are using a property not supported by safari ?
Have you already tried playing with the style to find an alternative ?
Here's where the problem is, I'd like to point out that on my site it's only here that it bugs. If a class seems weird or not compatible, I'd like you to tell me, but yes, I've already tried to play with the classes.
Is it tailwind ? I thought your style was pure CSS.
On the other hand, it will be hard to debug without a sandbox with a minimal reproduction of your case.
But I know that in safari the div does not take the width of the content, especially when a flex is placed in an absolute element.
Maybe you can try this to ensure that the div takes the full width
Otherwise, you can play with the style on https://play.tailwindcss.com. You have the generated CSS tab that could be very helpful in your case
You can also use https://www.browserstack.com/ to emulate locally your site with different browsers to test them
Tailwind Play
Tailwind Play
An advanced online playground for Tailwind CSS that lets you use all of Tailwind's build-time features directly in the browser.
BrowserStack
Most Reliable App & Cross Browser Testing Platform
Instant access to 3000+ browsers and real iOS and Android devices for cross browser testing. Ship apps and websites that work for everyone, every time. Get Free Trial.