Skip to content
Snippets Groups Projects
Commit b347057a authored by lfr20's avatar lfr20
Browse files

hot fixes

parent d4c79485
No related branches found
No related tags found
3 merge requests!100Changed recaptcha key to the production one, removed console.logs and fixed...,!99Changed recaptcha key to the production one, removed console.logs and fixed...,!98Changed recaptcha key to the production one, removed console.logs and fixed...
......@@ -30,13 +30,13 @@ const StyledTextField = styled(TextField)`
width : 100% !important;
.MuiOutlinedInput-root {
&.Mui-focused.Mui-error fieldset{
/* &.Mui-focused.Mui-error fieldset{
border-color: ${props => props.contrast === "" ? "red" : "#e75480"};
}
&.Mui-error fieldset{
border-color: ${props => props.contrast === "" ? "red" : "#e75480"};
}
} */
&.Mui-focused fieldset {
border-color: ${props => props.contrast === "" ? "#00bcd4" : "yellow"};
......@@ -55,12 +55,12 @@ const StyledTextField = styled(TextField)`
}
label.Mui-focused.Mui-error {
color: ${props => props.contrast === "" ? "red" : "#e75480"};
color: red;
}
label.Mui-error {
/* label.Mui-error {
color: ${props => props.contrast === "" ? "red" : "#e75480"};
}
} */
`
const useStyles = makeStyles(theme => ({
......@@ -105,7 +105,8 @@ export default function FormInput(props) {
rowsMax={props.rowsMax}
InputProps={props.contrast === "" ? { className: classes.lightTextField } : { className: classes.darkTextField }}
required={props.required}
helperText={<span style={props.contrast === "" ? { color: "red" } : { color: "#e75480" }}>{props.help}</span>}
// helperText={<span style={props.contrast === "" ? { color: "red" } : { color: "#e75480" }}>{props.help}</span>}
helperText={props.help}
style={{ width: "100%" }}
mask={props.mask}
multiline={props.multi}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment