#Drawer component+ultrawide monitors

2 messages · Page 1 of 1 (latest)

languid linden
#

Hey all, just wondering if anyone has gotten the Drawer component working nicely with ultrawide monitors and whether you could share your solutions. In my case I want the drawer to align so it's edge is roughly inline with the center of the screen, that way you can still easily access the content beneath, like on list views where u want to click through items e.g.

quaint yew
#

You can try using :

<Drawer size="50%">
  <Container mr={0}>
  </Container>
</Drawer>

So the drawer uses 50% of the space, and the container is aligned to the center of the screen (use ml if your drawer is at the right of the page)