Skip to content

Commit 7f74d24

Browse files
Fix min height
1 parent 3535f98 commit 7f74d24

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Diff for: src/components/inputs/formFieldReset.tsx

+12-2
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,24 @@ export function FormFieldReset({
4343

4444
if (isResetted) {
4545
return (
46-
<Button size="small" onClick={onCancel} sx={{ width: 80, ...sx }} variant="outlined">
46+
<Button
47+
size="small"
48+
onClick={onCancel}
49+
sx={{ width: 80, minHeight: 48, ...sx }}
50+
variant="outlined"
51+
>
4752
Cancel
4853
</Button>
4954
);
5055
}
5156

5257
return (
53-
<Button size="small" onClick={handleReset} sx={{ width: 80, ...sx }} variant="outlined">
58+
<Button
59+
size="small"
60+
onClick={handleReset}
61+
sx={{ width: 80, minHeight: 48, ...sx }}
62+
variant="outlined"
63+
>
5464
Reset
5565
</Button>
5666
);

0 commit comments

Comments
 (0)