hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.31k stars 285 forks source link

What is the best way to place the drawer not in the absolute left? #554

Open moshe5745 opened 1 year ago

moshe5745 commented 1 year ago

I am trying to achieve this:

Screenshare - 2022-12-28 10_08_11 PM

Now I did this by editing the aside style of the drawer(left: 200px) and putting the above elements with the toggle button with z-index: 10.

I guess even if I find a way to add the left:200px to the aside element it would not be the best approach.

How can I achieve this behavior in the best way?