Skip to content

Commit

Permalink
Update phone input styling and remove unnecessary attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
iPagar committed Feb 5, 2024
1 parent 33b6774 commit 35c97fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions stories/phone-input-stories.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
line-height: normal;

&:hover {
color: var(--main-black, #414141);
background: var(--hover-blue-15, rgba(180, 231, 239, 0.15));
}

Expand Down
3 changes: 0 additions & 3 deletions stories/phone-input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,21 +200,18 @@ export function Styled() {
<ul className={styles.countrySelectList}>
{searchCountryList.map((countryItem) => (
<PhoneInput.Item
aria-selected="true"
className={styles.countrySelectItem}
data-value={countryItem.alpha2}
key={countryItem.alpha2}
onClick={pickCountry}
onKeyDown={pickCountry}
role="option"
tabIndex={0}
>
<CountryFlag
className={styles.countrySelectItemFlag}
country={countryItem.alpha2}
type="svg"
/>

<span>{countryItem.name}</span>
</PhoneInput.Item>
))}
Expand Down

0 comments on commit 35c97fc

Please sign in to comment.