Add responsive on Homepage elements
This commit is contained in:
@@ -57,18 +57,20 @@
|
||||
on:mouseleave={handleMouseLeave}
|
||||
sveltekit-noscroll
|
||||
>
|
||||
<Image id={country.flag.id} alt="Flag of {country.name}" width={32} height={32} />
|
||||
<dl>
|
||||
<dt class="location__name">
|
||||
{name}
|
||||
</dt>
|
||||
<dd class="location__country text-label">
|
||||
{country.name}
|
||||
</dd>
|
||||
</dl>
|
||||
{#if isNew}
|
||||
<Badge text="New" />
|
||||
{/if}
|
||||
<Image class="location__flag" id={country.flag.id} alt="Flag of {country.name}" width={32} height={32} />
|
||||
<div class="text">
|
||||
<dl>
|
||||
<dt class="location__name">
|
||||
{name}
|
||||
</dt>
|
||||
<dd class="location__country text-label">
|
||||
{country.name}
|
||||
</dd>
|
||||
</dl>
|
||||
{#if isNew}
|
||||
<Badge text="New" />
|
||||
{/if}
|
||||
</div>
|
||||
</a>
|
||||
<div class="location__photos">
|
||||
<span>{photoIndex}</span>
|
||||
|
||||
Reference in New Issue
Block a user