refinedev / refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
https://refine.dev
MIT License
25.99k stars 1.97k forks source link

[FEAT] Ant Design's `<ThemedSiderV2>` change button position under mobile #5958

Closed linkscope closed 1 month ago

linkscope commented 1 month ago

Is your feature request related to a problem? Please describe.

Hey, under mobile <ThemedSiderV2> is a button popup, but I've found that it can somewhat obscure the content of the page, in this case it's a problem on all pages, and a bit worse on the create and edit pages due to the presence of the breadcrumbs, I've taken a screenshot of an example from the docs:

截屏2024-05-17 17 42 01

I was wondering if it would be possible to move the menu button up into the Header? That would be much better.

Thanks, team.

Describe alternatives you've considered

No response

Additional context

No response

Describe the thing to improve

It would be possible to move the menu button up into the Header.

BatuhanW commented 1 month ago

Hey @linkscope you can swizzle the layout and modify it according to your needs.

https://refine.dev/docs/ui-integrations/ant-design/components/themed-layout/#customizing-with-swizzle