Fix dice tray button size on safari
This commit is contained in:
parent
48f39380ab
commit
1026c44205
@ -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}
|
||||
>
|
||||
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user