Fix drawer width

This commit is contained in:
Kamran Ahmed
2021-12-04 19:53:01 +01:00
parent 37432582c0
commit c16bed02ca

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}