Create class to style phone numbers and extensions

This commit is contained in:
leigh-mil
2018-10-31 11:24:32 -04:00
parent 6bc157b2b3
commit 8b9fe61a94
3 changed files with 41 additions and 11 deletions

View File

@@ -314,3 +314,36 @@ select {
}
}
.phone-input {
display: flex;
flex-direction: row;
.phone-input__phone {
margin-right: ($gap * 4);
.usa-input {
input, label, .usa-input__message {
max-width: 20rem;
}
.icon-validation {
left: 20rem;
}
}
}
.phone-input__extension {
margin-left: ($gap * 4);
.usa-input {
input, label {
max-width: 8rem;
}
.icon-validation {
left: 5em;
}
}
}
}