From 3006bf90fdc29338d241ceccb1239fa3014c840b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 18 Nov 2022 08:07:03 -0800 Subject: Fix remove toast position --- modern/src/common/components/RemoveDialog.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modern/src/common/components/RemoveDialog.js b/modern/src/common/components/RemoveDialog.js index 1af4e6a8..9a2a27fb 100644 --- a/modern/src/common/components/RemoveDialog.js +++ b/modern/src/common/components/RemoveDialog.js @@ -7,6 +7,11 @@ import { useCatch } from '../../reactHelper'; import { snackBarDurationLongMs } from '../util/duration'; const useStyles = makeStyles((theme) => ({ + root: { + [theme.breakpoints.down('md')]: { + bottom: `calc(${theme.dimensions.bottomBarHeight}px + ${theme.spacing(1)})`, + }, + }, button: { height: 'auto', marginTop: 0, @@ -32,6 +37,7 @@ const RemoveDialog = ({ return ( onResult(false)} -- cgit v1.2.3