Skip to content

Commit

Permalink
Padding fix
Browse files Browse the repository at this point in the history
  • Loading branch information
damienallen committed May 26, 2024
1 parent ae1339d commit 1997f68
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/components/ControlsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const useStyles = createUseStyles({
gap: 8,
position: 'relative',
'@media (max-width: 720px)': {
padding: 16,
padding: 8,
},
},
sliderInput: {
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/MapCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const useStyles = createUseStyles({
})

export const MapCanvas = observer(() => {
const { app, contours, ui } = useStores()
const { app, contours } = useStores()
const classes = useStyles()
const navigate = useNavigate()

Expand Down
5 changes: 4 additions & 1 deletion app/src/components/ProcessingStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ export const ProcessingStatus = observer(() => {
) : (
<Tooltip label="Randomize">
<div
onClick={() => contours.randomizeFeature()}
onMouseLeave={() => setRoll(getRoll())}
onClick={() => {
contours.randomizeFeature()
setRoll(getRoll())
}}
className={classes.button}
>
{dice[roll]}
Expand Down

0 comments on commit 1997f68

Please sign in to comment.