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

hot fixes

parent d4c79485
Branches
Tags
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)` ...@@ -30,13 +30,13 @@ const StyledTextField = styled(TextField)`
width : 100% !important; width : 100% !important;
.MuiOutlinedInput-root { .MuiOutlinedInput-root {
&.Mui-focused.Mui-error fieldset{ /* &.Mui-focused.Mui-error fieldset{
border-color: ${props => props.contrast === "" ? "red" : "#e75480"}; border-color: ${props => props.contrast === "" ? "red" : "#e75480"};
} }
&.Mui-error fieldset{ &.Mui-error fieldset{
border-color: ${props => props.contrast === "" ? "red" : "#e75480"}; border-color: ${props => props.contrast === "" ? "red" : "#e75480"};
} } */
&.Mui-focused fieldset { &.Mui-focused fieldset {
border-color: ${props => props.contrast === "" ? "#00bcd4" : "yellow"}; border-color: ${props => props.contrast === "" ? "#00bcd4" : "yellow"};
...@@ -55,12 +55,12 @@ const StyledTextField = styled(TextField)` ...@@ -55,12 +55,12 @@ const StyledTextField = styled(TextField)`
} }
label.Mui-focused.Mui-error { 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"}; color: ${props => props.contrast === "" ? "red" : "#e75480"};
} } */
` `
const useStyles = makeStyles(theme => ({ const useStyles = makeStyles(theme => ({
...@@ -105,7 +105,8 @@ export default function FormInput(props) { ...@@ -105,7 +105,8 @@ export default function FormInput(props) {
rowsMax={props.rowsMax} rowsMax={props.rowsMax}
InputProps={props.contrast === "" ? { className: classes.lightTextField } : { className: classes.darkTextField }} InputProps={props.contrast === "" ? { className: classes.lightTextField } : { className: classes.darkTextField }}
required={props.required} 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%" }} style={{ width: "100%" }}
mask={props.mask} mask={props.mask}
multiline={props.multi} multiline={props.multi}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment