diff --git a/src/components/map/dice/DiceControls.js b/src/components/map/dice/DiceControls.js index 4902f65..9baabc9 100644 --- a/src/components/map/dice/DiceControls.js +++ b/src/components/map/dice/DiceControls.js @@ -90,6 +90,7 @@ function DiceControls({ right: 0, display: "flex", color: "white", + pointerEvents: "none", }} > @@ -56,7 +57,7 @@ function DiceResults({ diceRolls, onDiceClear, onDiceReroll }) { {diceRolls.reduce((accumulator, dice) => accumulator + dice.roll, 0)} @@ -67,7 +68,7 @@ function DiceResults({ diceRolls, onDiceClear, onDiceReroll }) { title={"Show Dice Details"} onClick={() => setIsExpanded(!isExpanded)} variant="secondary" - sx={{ display: "flex", height: "24px" }} + sx={{ display: "flex", height: "24px", pointerEvents: "all" }} > {isExpanded ? rolls : rolls.slice(0, maxDiceRollsShown)} {!isExpanded && ( @@ -85,6 +86,7 @@ function DiceResults({ diceRolls, onDiceClear, onDiceReroll }) { title="Reroll Dice" aria-label="Reroll Dice" onClick={onDiceReroll} + sx={{ pointerEvents: "all" }} >