Fix images tags display #38
This commit is contained in:
parent
ea299ef583
commit
75a4dba4ec
2 changed files with 8 additions and 4 deletions
|
|
@ -41,8 +41,10 @@
|
|||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.image .tag {
|
||||
.image .tags {
|
||||
position: absolute;
|
||||
top: var(--space-12);
|
||||
left: var(--space-12);
|
||||
right: var(--space-12);
|
||||
gap: var(--space-8);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,9 +24,11 @@
|
|||
:class="{ 'has-description': image.description.length > 0 }"
|
||||
@click="imageDetails = image"
|
||||
>
|
||||
<span v-for="tag in image.tags" class="tag | btn btn--sm">{{
|
||||
tag
|
||||
}}</span>
|
||||
<p class="tags | flex">
|
||||
<span v-for="tag in image.tags" class="tag | btn btn--sm">{{
|
||||
tag
|
||||
}}</span>
|
||||
</p>
|
||||
<img :src="image.url" alt="" />
|
||||
</figure>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue