Closed Superpat closed 5 months ago
Thank you @Superpat
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.
So I fixed this by using a vw
width on the img
instead of just a %
width on the drawer-side
.
Not sure why the img
is visually small with the %
width but still makes the drawer-side
take more space, but I think it's a css thing, not a daisy thing.
What version of daisyUI are you using?
tailwind play
Which browsers are you seeing the problem on?
Chrome, Firefox
Reproduction URL
https://play.tailwindcss.com/SWIOgQbzVQ
Describe your issue
Hello,
Heres a minimal reproduction of a problem I'm having with an app where I put a logo in the top part of the drawer.
Somehow, even if I constrain the size of the image, the drawer still ends up squeezing the
drawer-content
to the side when I uselg:drawer-open
. This is not a problem when I only usedrawer
.So how do I fit an image in the
drawer-side
?