From 557c923107d839439cec554b1a154733170d811d Mon Sep 17 00:00:00 2001 From: RohitR311 Date: Tue, 19 Nov 2024 03:00:18 +0530 Subject: [PATCH] fix: remove pink borders on text field --- src/pages/Register.tsx | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/pages/Register.tsx b/src/pages/Register.tsx index d8378c73..436f1c11 100644 --- a/src/pages/Register.tsx +++ b/src/pages/Register.tsx @@ -89,20 +89,6 @@ const Register = () => { margin="normal" variant="outlined" required - sx={{ - "& .MuiOutlinedInput-root": { - backgroundColor: email ? "#ffe6f9" : "#ffffff", - "& fieldset": { borderColor: "#ff33cc" }, - "&:hover fieldset": { borderColor: "#ff33cc" }, - "&.Mui-focused fieldset": { borderColor: "#ff33cc" }, - }, - "& input:-webkit-autofill": { - WebkitBoxShadow: "0 0 0 1000px #ffe6f9 inset", - WebkitTextFillColor: "#000", - }, - "& .MuiInputLabel-root": { color: email ? "#ff33cc" : "#000000" }, - "& .MuiInputLabel-root.Mui-focused": { color: "#ff33cc" }, - }} /> { margin="normal" variant="outlined" required - sx={{ - "& .MuiOutlinedInput-root": { - backgroundColor: password ? "#ffe6f9" : "#ffffff", - "& fieldset": { borderColor: "#ff33cc" }, - "&:hover fieldset": { borderColor: "#ff33cc" }, - "&.Mui-focused fieldset": { borderColor: "#ff33cc" }, - }, - "& input:-webkit-autofill": { - WebkitBoxShadow: "0 0 0 1000px #ffe6f9 inset", - WebkitTextFillColor: "#000", - }, - "& .MuiInputLabel-root": { color: password ? "#ff33cc" : "#000000" }, - "& .MuiInputLabel-root.Mui-focused": { color: "#ff33cc" }, - }} />