👀 Rework how House index is displayed
Use grids to place the index instead of position absolute Add a condition if the index starts with 1 as it has a quite smaller width
This commit is contained in:
@@ -267,7 +267,7 @@
|
||||
</section>
|
||||
|
||||
{#if photos.length}
|
||||
<section class="location-page__houses grid" bind:this={photosListEl}>
|
||||
<section class="location-page__houses" bind:this={photosListEl}>
|
||||
{#each photos as { title, image: { id, title: alt, width, height }, slug, city, date_taken }, index}
|
||||
<House
|
||||
{title}
|
||||
|
||||
Reference in New Issue
Block a user