Fix dice tray button size on safari

This commit is contained in:
Mitchell McCaffrey 2020-08-05 19:06:33 +10:00
parent 48f39380ab
commit 1026c44205
2 changed files with 8 additions and 9 deletions

View File

@ -19,11 +19,12 @@ function DiceTrayButton({
sx={{
position: "absolute",
top: 0,
left: 0,
left: "100%",
bottom: 0,
flexDirection: "column",
alignItems: "flex-start",
pointerEvents: "none",
zIndex: 1,
}}
ml={1}
>

View File

@ -91,14 +91,12 @@ function Party({
/>
<SettingsButton />
</Flex>
<Box sx={{ position: "absolute", top: 0, right: "0", zIndex: 1 }}>
<DiceTrayButton
shareDice={shareDice}
onShareDiceChage={onShareDiceChage}
diceRolls={diceRolls}
onDiceRollsChange={onDiceRollsChange}
/>
</Box>
<DiceTrayButton
shareDice={shareDice}
onShareDiceChage={onShareDiceChage}
diceRolls={diceRolls}
onDiceRollsChange={onDiceRollsChange}
/>
</Flex>
);
}