Skip to content

Commit 1632c3f

Browse files
authored
Merge pull request #5674 from rkfg/confirm-fix
Remove min width in confirmation dialog
2 parents 18140a2 + 05de982 commit 1632c3f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/ra-ui-materialui/src/layout/Confirm.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ import { useTranslate } from 'ra-core';
1616

1717
const useStyles = makeStyles(
1818
theme => ({
19-
contentText: {
20-
minWidth: 400,
21-
},
2219
confirmPrimary: {
2320
color: theme.palette.primary.main,
2421
},
@@ -97,7 +94,7 @@ const Confirm: FC<ConfirmProps> = props => {
9794
{translate(title, { _: title, ...translateOptions })}
9895
</DialogTitle>
9996
<DialogContent>
100-
<DialogContentText className={classes.contentText}>
97+
<DialogContentText>
10198
{translate(content, {
10299
_: content,
103100
...translateOptions,

0 commit comments

Comments
 (0)