ux: better readability
Massimo Melina committed
May 2, 2024 at 18:30 UTC
526be0f80a09110716a58865e8328ec7433745f8
1 file changed
+1
-1
mui-grid-form/misc-fields.ts
+1
-1
@@ -45,7 +45,7 @@ export function NumberField({ value, onChange, setApi, required, min, max, step,
45
sx: { pr: '6px', '& input': { pl: '.2em', textAlign: 'right' } },
46
endAdornment: h(InputAdornment, {
47
position: 'end',
48
- sx: { mt: '1.2em', ml: '5px', '& p': { fontSize: '80%' } }
48
+ sx: { mt: '1.2em', ml: '5px', '& p': { fontSize: '80%', '.Mui-focused &': { color: 'text.primary' } } }
49
}, unit),
50
}),
51
...props,