Closed J4gQBqqR closed 1 year ago
This bug is related to https://github.com/kidonng/unocss-preset-daisy/issues/18#issuecomment-1492259275
As you can see https://github.com/saadeghi/daisyui/blob/51d669d285ef78b95408156a36b4c70195bb4cb2/src/components/unstyled/drawer.css#L73 drawer-mobile has multiple @apply rules that uses breakpoint prefix. breakpoint prefix is not working, thus any style in daisyUI that uses breakpoint prefix will not work. Is this a bug in this preset or UnoCSS?
Duplicate of #14
The Drawer has a
drawer-mobile
for responsive design. I guess it is using some kind of modifier likemd:
behind the scene. However, the code directly copied from the doc will not work with this preset: https://daisyui.com/components/drawer/#drawer-for-mobile--fixed-sidebar-for-desktop The drawer will not hide/show itself upon changing screen width.