Skip to content

Commit e44ca09

Browse files
committed
Address feedback
1 parent da068a5 commit e44ca09

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
div {
1+
.my-tel-input-container {
22
display: flex;
33
}
44

5-
input {
5+
.my-tel-input-element {
66
border: none;
77
background: none;
88
padding: 0;
@@ -11,11 +11,11 @@ input {
1111
text-align: center;
1212
}
1313

14-
span {
14+
.my-tel-input-spacer {
1515
opacity: 0;
1616
transition: opacity 200ms;
1717
}
1818

19-
:host.floating span {
19+
:host.floating .my-tel-input-spacer {
2020
opacity: 1;
2121
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<div [formGroup]="parts">
2-
<input class="area" formControlName="area" size="3">
3-
<span>&ndash;</span>
4-
<input class="exchange" formControlName="exchange" size="3">
5-
<span>&ndash;</span>
6-
<input class="subscriber" formControlName="subscriber" size="4">
1+
<div [formGroup]="parts" class="my-tel-input-container">
2+
<input class="my-tel-input-element" formControlName="area" size="3">
3+
<span class="my-tel-input-spacer">&ndash;</span>
4+
<input class="my-tel-input-element" formControlName="exchange" size="3">
5+
<span class="my-tel-input-spacer">&ndash;</span>
6+
<input class="my-tel-input-element" formControlName="subscriber" size="4">
77
</div>

0 commit comments

Comments
 (0)