medusajs / medusa

Building blocks for digital commerce
https://medusajs.com
MIT License
23.75k stars 2.29k forks source link

Drawer UI component in admin opens full screen #7221

Open kopec opened 2 months ago

kopec commented 2 months ago

It seems like some css classes are not present when extending the admin dashboard with certain UI components. Namely Drawer. When placing this component inside an admin page, it behaves like a full screen modal. Missing classes are sm:right-2 sm:max-w-[560px] among others. It was working ok on 1.18.x. It started this behaviour when jumping to 1.20.x.

vholik commented 1 month ago

Having the same issue

kopec commented 1 month ago

Hi @vholik, thank you for confirming this issue. Have you found any solution yet?

kopec commented 1 month ago

@shahednasser could you have a look at this? I'd appreciate any hint on this. Thank you.

shahednasser commented 1 month ago

Maybe @kasperkristensen can help out here

kopec commented 2 weeks ago

Hi guys, any update on this? @kasperkristensen I'd appreciate any hint where to look for the fix.

infsahitya commented 1 week ago

Yes, the drawer component is opening in full screen instead of opening on the right pane of the screen. Any suggestions and solutions will be helpful a lot.

Screenshot 2024-06-29 160345