- extend field class instead

This commit is contained in:
Shemy Gan committed 2024-11-20 14:20:12 -05:00
1 parent a0694d4f4a
commit 3053d632c6
2 files changed
+2 -5

No files matched your search

+1 -4
View File
@@ -4,10 +4,7 @@
.field-infrastructure-alert{ .field-infrastructure-alert{
max-width: var(--env-var-width-4); max-width: var(--env-var-width-4);
} min-width: unset;
.field-infrastructure-alert .MuiInputBase-root:has(input) {
height: var(--env-var-height-2);
} }
.field h3.MuiTypography-root, .field h3.MuiTypography-root,
+1 -1
View File
@@ -57,7 +57,7 @@ const Field = forwardRef(
return ( return (
<Stack <Stack
gap={theme.spacing(2)} gap={theme.spacing(2)}
className={`${className ?? `field field-${type}`}`} className={`field field-${type} ${className}`}
sx={{ sx={{
"& fieldset": { "& fieldset": {
borderColor: theme.palette.border.dark, borderColor: theme.palette.border.dark,