Merge pull request #163 from edx/van-378/fix-font-weight-inconsistency

fix font inconsistency
This commit is contained in:
Uzair Rasheed
2021-02-24 18:49:53 +05:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -69,6 +69,7 @@ const AuthnCustomValidationFormGroup = (props) => {
if (props.type === 'select') {
inputProps.options = props.selectOptions;
inputProps.className = props.value === '' ? 'text-muted' : null;
}
if (props.type === 'checkbox') {
inputProps.checked = props.isChecked;

View File

@@ -139,7 +139,7 @@ exports[`RegistrationPageTests should match TPA provider snapshot 1`] = `
</label>
<select
aria-describedby=""
className="form-control"
className="form-control text-muted"
id="country"
name="country"
onBlur={[Function]}
@@ -1688,7 +1688,7 @@ exports[`RegistrationPageTests should match default section snapshot 1`] = `
</label>
<select
aria-describedby=""
className="form-control"
className="form-control text-muted"
id="country"
name="country"
onBlur={[Function]}
@@ -3198,7 +3198,7 @@ exports[`RegistrationPageTests should match pending button state snapshot 1`] =
</label>
<select
aria-describedby=""
className="form-control"
className="form-control text-muted"
id="country"
name="country"
onBlur={[Function]}