aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/common/components/RemoveDialog.js6
1 files changed, 6 insertions, 0 deletions
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 (
<Snackbar
+ className={classes.root}
open={open}
autoHideDuration={snackBarDurationLongMs}
onClose={() => onResult(false)}