You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is solved, one can use <variant>:h-auto or whatever, using the same variant as the one used for <variant>:drawer-open.
Currently, if someone wants a navbar (or a footer) outside of drawer, height would be: drawer (100vh) + navbar (or footer).
Unless they use calc() for drawer height.
I don't have solution for it in mind tho. Maybe something with if()… can help
You mean like this? It will adjust dinamically to header/footer size (with .
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
261b302#r169432040
I checked, we only need@apply h-auto overflow-y-auto;atdaisyui/packages/daisyui/src/components/drawer.css
Line 140 in a4492a9
so it is simple to adjust it any other way.This is solved, one can use
<variant>:h-autoor whatever, using the same variant as the one used for<variant>:drawer-open.You mean like this? It will adjust dinamically to header/footer size (with .
Layout with header/footer
Or do you mean the overlay drawer to not cover a header? That would be a little more difficult.
Beta Was this translation helpful? Give feedback.
All reactions