Fix sizeKey on Image without sizes

This commit is contained in:
2021-11-28 23:08:13 +01:00
parent 7169faa3aa
commit 89234e6e52
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@
<div class="photo-card__info"> <div class="photo-card__info">
<Image <Image
id={location.country.flag.id} id={location.country.flag.id}
sizeKey="square" sizeKey="square-small"
width={24} width={24}
height={24} height={24}
alt="Flag of {location.country.name}" alt="Flag of {location.country.name}"

View File

@@ -31,7 +31,7 @@
<Image <Image
class="flag" class="flag"
id={flagId} id={flagId}
sizeKey="square" sizeKey="square-small"
width={32} height={32} width={32} height={32}
alt="Flag of {country}" alt="Flag of {country}"
/> />

View File

@@ -370,7 +370,7 @@
<Image <Image
class="icon" class="icon"
id={countryFlagId} id={countryFlagId}
sizeKey="square" sizeKey="square-small"
width={26} height={26} width={26} height={26}
alt="{filterCountry} flag" alt="{filterCountry} flag"
/> />

View File

@@ -36,7 +36,7 @@
<a href={link} target="_blank" rel="external noreferrer noopener"> <a href={link} target="_blank" rel="external noreferrer noopener">
<Image <Image
id={id} id={id}
sizeKey="issue-thumbnail" sizeKey="issue-thumbnail-small"
width={160} height={112} width={160} height={112}
alt="Issue {issue} thumbnail" alt="Issue {issue} thumbnail"
/> />