fix country flag size being inconsistent
All checks were successful
Deploy Website / deploy (push) Successful in 4m6s
All checks were successful
Deploy Website / deploy (push) Successful in 4m6s
This commit is contained in:
@ -10,8 +10,7 @@ export default function CountryFlag({ code, size = 24 }: Props) {
|
||||
alt="Player Country"
|
||||
src={`/assets/flags/${code.toLowerCase()}.png`}
|
||||
width={size * 2}
|
||||
height={size}
|
||||
className={`w-[${size * 2}px] h-[${size}px] object-contain`}
|
||||
className={`w-[${size * 2}px] object-contain`}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user