Merge pull request #940 from om-3004/bug/fix-current-password-widget

fix: add css to fix the current password widget under account>password
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-10-12 19:45:30 +08:00
commit 76ad9a3bbb
1 file changed
+2 -1
+2 -1
View File
@@ -74,6 +74,7 @@ const Field = forwardRef(
"&:has(.input-error) .MuiOutlinedInput-root fieldset": { "&:has(.input-error) .MuiOutlinedInput-root fieldset": {
borderColor: theme.palette.error.text, borderColor: theme.palette.error.text,
}, },
display: hidden ? "none" : "",
}} }}
> >
{label && ( {label && (
@@ -142,7 +143,7 @@ const Field = forwardRef(
}, },
} }
: { : {
display: hidden ? "none" : "",
} }
} }
InputProps={{ InputProps={{