Fix sizeKey on Image without sizes
This commit is contained in:
@@ -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}"
|
||||||
|
|||||||
@@ -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}"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -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"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -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"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user