fix font inconsistency

This commit is contained in:
uzairr
2021-02-24 08:17:13 +05:00
parent 37dbf3b8af
commit 000642bbfb
2 changed files with 4 additions and 3 deletions

View File

@@ -68,6 +68,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

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