1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 13:50:27 +05:30

Merge pull request #2751 from Bnyro/master

fix: wrap video tags into multiple lines
This commit is contained in:
Bnyro 2023-08-03 14:01:03 +02:00 committed by GitHub
commit 5db65b118a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,11 +169,11 @@
<div v-text="`${$t('video.license')}: ${video.license}`" />
<div class="capitalize" v-text="`${$t('video.visibility')}: ${video.visibility}`" />
<div v-if="video.tags" class="flex gap-2 mt-2">
<div v-if="video.tags" class="flex flex-wrap gap-2 mt-2">
<router-link
v-for="tag in video.tags"
:key="tag"
class="rounded-s px-2 py-1 btn"
class="rounded-s px-2 py-1 btn line-clamp-1"
:to="`/results?search_query=${encodeURIComponent(tag)}`"
>{{ tag }}</router-link
>