Join the Webstudio community

Updated 4 months ago

Change side where Sheet element opens?

At a glance

The community member is asking how to switch the default position of the Sheet element from the left side of the screen to the right side. They noticed that Webstudio's home site has a sheet that opens from the right on mobile devices. In the comments, another community member suggests using margin-left: auto; margin-right: 0; to achieve the desired effect, but later acknowledges that they were mistaken and thanks the original poster.

By default, the Sheet element opens on the left side of the screen. How can I switch it to the right? I haven't been able to find an attribute or style that works.

I notice that Webstudio's home site has a sheet that opens from the right (mobile breakpoint).
O
p
2 comments
margin left auto, margin right 0
ha! sorry to waste your time with that one. I was looking at Shadcn attributes and missed the basic. Thank you.
Add a reply
Sign up and join the conversation on Discord