saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.19k stars 1.31k forks source link

Update +page.svelte.md to fix Hero component documentation #2996

Closed Hypnocratic closed 7 months ago

Hypnocratic commented 7 months ago

Hero component code example of "Hero with figure but reverse order" was wrong. The image tag was being put before the text div. Fix moves image to after text div. Code was causing image to render left of text instead of the right.

saadeghi commented 7 months ago

It's not wrong.
Second example has lg:flex-row
Third example has lg:flex-row-reverse

You can copy the codes to Tailwind Play and see they're working as expected:
https://daisyui.com/tailwindplay/