Skip to content

Commit

Permalink
[PLAY-1527] Hosting the right phone number input flags png file (#3641)
Browse files Browse the repository at this point in the history
**What does this PR do?** 
[Runway Story](https://runway.powerhrg.com/backlog_items/PLAY-1527)


**How to test?** Steps to confirm the desired behavior:
1. Go to the Phone Number Input kit doc page.


#### Checklist:
- [x] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new
kit`, `deprecated`, or `breaking`. See [Changelog &
Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels)
for details.
- [x] **DEPLOY** I have added the `milano` label to show I'm ready for a
review.
- [ ] **TESTS** I have added test coverage to my code.
  • Loading branch information
carloslimasd authored Aug 29, 2024
1 parent 278fb52 commit e9cf6df
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ $flag-min-resolution: 192dpi;
}

.iti__flag {
background-image: url("https://unpkg.com/[email protected]/dist/assets/flags.png");
border-radius: 1px;
}

Expand Down Expand Up @@ -196,4 +197,10 @@ $flag-min-resolution: 192dpi;
}
}
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: $flag-min-resolution) {
.iti__flag {
background-image: url("https://unpkg.com/[email protected]/dist/assets/flags.png");
}
}
}

0 comments on commit e9cf6df

Please sign in to comment.