1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-27 11:09:53 +02:00

Fix drawer width

This commit is contained in:
Kamran Ahmed
2021-12-04 19:53:01 +01:00
parent 0cffee8475
commit a3be0a24f2

View File

@@ -16,7 +16,7 @@ export function ContentDrawer(props: ContentDrawerProps) {
} }
return ( return (
<Box zIndex={999} pos="relative"> <Box zIndex={99999} pos="relative">
<Box <Box
onClick={onClose} onClick={onClose}
pos="fixed" pos="fixed"
@@ -31,7 +31,7 @@ export function ContentDrawer(props: ContentDrawerProps) {
<Box <Box
p="0px 30px 30px" p="0px 30px 30px"
position="fixed" position="fixed"
w={['100%', '70%', '40%']} w={['100%', '70%', '50%']}
bg="white" bg="white"
top={0} top={0}
right={0} right={0}