From 477ed726dd6cd1706b09af5e51a5d6c4f5789fa4 Mon Sep 17 00:00:00 2001 From: RohitR311 Date: Tue, 19 Nov 2024 02:59:43 +0530 Subject: [PATCH] fix: remove pink borders on text field --- src/pages/Login.tsx | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx index de44af12..67c889d2 100644 --- a/src/pages/Login.tsx +++ b/src/pages/Login.tsx @@ -90,20 +90,6 @@ const Login = () => { 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" }, - }} />