saadeghi / daisyui

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

bug: invisible toast area blocks buttons #3222

Open condemil opened 21 hours ago

condemil commented 21 hours ago

What version of daisyUI are you using?

4.12.10

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://play.tailwindcss.com/AE6Alyeiqn

Describe your issue

Use-case: If the page have a toast area (div with toast class), it is not visible without any content inside it and can be used in conjunction with javascript to show alerts when it is required.

Issue: If the button is located in the same part of the page, the button area that overlaps with toast padding is not clickable. You can check how it looks like in the provided reproduction url.

Solution: The solution I see is to replace p-4 with m-4 in here

github-actions[bot] commented 21 hours ago

Thank you @condemil for reporting issues. It helps daisyUI a lot ๐Ÿ’š
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.