fix: remove pink borders on text field
This commit is contained in:
@@ -90,20 +90,6 @@ const Login = () => {
|
|||||||
margin="normal"
|
margin="normal"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
required
|
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" },
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
fullWidth
|
fullWidth
|
||||||
@@ -115,20 +101,6 @@ const Login = () => {
|
|||||||
margin="normal"
|
margin="normal"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
required
|
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" },
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|||||||
Reference in New Issue
Block a user