safari layout fix
This commit is contained in:
parent
d9e4b8cb59
commit
cf2d76023c
1 changed files with 48 additions and 45 deletions
|
@ -44,6 +44,7 @@ function WardrobePage() {
|
|||
}, [error, toast]);
|
||||
|
||||
return (
|
||||
<Box position="absolute" top="0" bottom="0" left="0" right="0">
|
||||
<Grid
|
||||
// Fullscreen, split into a vertical stack on smaller screens
|
||||
// or a horizontal stack on larger ones!
|
||||
|
@ -62,14 +63,15 @@ function WardrobePage() {
|
|||
base: "100%",
|
||||
lg: "50% 50%",
|
||||
}}
|
||||
position="absolute"
|
||||
top="0"
|
||||
bottom="0"
|
||||
left="0"
|
||||
right="0"
|
||||
height="100%"
|
||||
width="100%"
|
||||
>
|
||||
<Box gridArea="outfit" backgroundColor="gray.900">
|
||||
<OutfitPreview itemIds={data.wornItemIds} speciesId="54" colorId="75" />
|
||||
<OutfitPreview
|
||||
itemIds={data.wornItemIds}
|
||||
speciesId="54"
|
||||
colorId="75"
|
||||
/>
|
||||
</Box>
|
||||
<Box gridArea="search" boxShadow="sm">
|
||||
<Box px="5" py="3">
|
||||
|
@ -94,6 +96,7 @@ function WardrobePage() {
|
|||
</Box>
|
||||
</Box>
|
||||
</Grid>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue