kiliman / tailwindui-crawler

tailwindui-crawler downloads the component HTML files locally
MIT License
765 stars 97 forks source link

Preview Header on Safari Broken Height #42

Closed rbridge closed 3 years ago

rbridge commented 3 years ago

Not sure if this would even be the right place for this, but I'm seeing some strange behavior when browsing the index pages for components after generating.

When using Safari there seems to be some really strange behavior going on with the h-full class on the vertical spacer.

Screen Shot 2021-02-12 at 9 13 27 AM

When comparing against the elements on the actual TailwindUI site I'm seeing the same classes, but the behavior is correct.

Screen Shot 2021-02-12 at 9 13 56 AM

It also seems to be just in Safari, as the local pages look just fine when using Brave.

Screen Shot 2021-02-12 at 9 18 07 AM

Any thoughts? I feel like I'm missing something obvious but can't seem to pin it down.

kiliman commented 3 years ago

That is very odd. I'm seeing the same behavior.

I tried to re-create the issue on Tailwind Play, but it actually works on Safari there.

https://play.tailwindcss.com/Vuc5NuYq0w

Anyway, I haven't update the crawler in a while. I need to ensure it works properly with TailwindUI v2.x

image

rbridge commented 3 years ago

Glad to see I haven't completely lost it. That said it wouldn't be hard to define the height of that element, but just seemed strange that the behavior was inconsistent.