Skip to content

Commit fb063a0

Browse files
committed
chore(CountryFlag): add generic orbit class
1 parent 2032a84 commit fb063a0

File tree

1 file changed

+8
-4
lines changed
  • packages/orbit-components/src/CountryFlag

1 file changed

+8
-4
lines changed

packages/orbit-components/src/CountryFlag/index.tsx

+8-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ const CountryFlag = ({ dataTest, size = SIZES.MEDIUM, id, role = "img", ...props
2626

2727
return (
2828
<div
29-
className={cx("rounded-50 bg-country-flag-background relative shrink-0 overflow-hidden", {
30-
"h-country-flag-small w-country-flag-small": size === SIZES.SMALL,
31-
"h-country-flag-medium w-country-flag-medium": size === SIZES.MEDIUM,
32-
})}
29+
className={cx(
30+
"orbit-country-flag",
31+
"rounded-50 bg-country-flag-background relative shrink-0 overflow-hidden",
32+
{
33+
"h-country-flag-small w-country-flag-small": size === SIZES.SMALL,
34+
"h-country-flag-medium w-country-flag-medium": size === SIZES.MEDIUM,
35+
},
36+
)}
3337
>
3438
<img
3539
className="block size-full shrink-0"

0 commit comments

Comments
 (0)