diff --git a/src/redesign/_style.scss b/src/redesign/_style.scss index 67a22b78..cf3e2e43 100644 --- a/src/redesign/_style.scss +++ b/src/redesign/_style.scss @@ -622,13 +622,6 @@ select.form-control { right: 0; position: relative; } - .mt-small { - margin-top: 3rem !important; - } -} - -.-mt-4 { - margin-top: -1.4rem; } .alert .alert-icon { diff --git a/src/redesign/common-components/FormGroup.jsx b/src/redesign/common-components/FormGroup.jsx index 9ad410c0..fbbb5cbd 100644 --- a/src/redesign/common-components/FormGroup.jsx +++ b/src/redesign/common-components/FormGroup.jsx @@ -7,6 +7,7 @@ import PropTypes from 'prop-types'; const FormGroup = (props) => { const [hasFocus, setHasFocus] = useState(false); + const className = props.className || 'mb-4'; const handleFocus = (e) => { setHasFocus(true); @@ -21,7 +22,7 @@ const FormGroup = (props) => { }; return ( - + -
+
{ this.state.dropDownItems?.length > 0 ? this.state.dropDownItems : null }
diff --git a/src/redesign/register/RegistrationPage.jsx b/src/redesign/register/RegistrationPage.jsx index fd50e040..0af5946e 100644 --- a/src/redesign/register/RegistrationPage.jsx +++ b/src/redesign/register/RegistrationPage.jsx @@ -594,7 +594,7 @@ class RegistrationPage extends React.Component { handleChange={(value) => this.setState({ country: value })} errorCode={this.state.errorCode} /> -
+