Fix incorrect tag nesting

This commit is contained in:
Tomasz Rymkiewicz 2021-12-28 02:13:55 +01:00 committed by FireMasterK
parent f576ca74d1
commit 5977e2c51a
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
4 changed files with 13 additions and 17 deletions

View File

@ -1,6 +1,5 @@
<template> <template>
<p v-text="message" /> <p v-text="message" />
>
<button @click="toggleTrace" class="btn" v-text="$t('actions.show_more')" /> <button @click="toggleTrace" class="btn" v-text="$t('actions.show_more')" />
<p ref="stacktrace" style="white-space: pre-wrap" hidden v-text="error" /> <p ref="stacktrace" style="white-space: pre-wrap" hidden v-text="error" />
</template> </template>

View File

@ -6,12 +6,10 @@
<div class="grid grid-cols-2"> <div class="grid grid-cols-2">
<div> <div>
<strong>
<router-link class="uk-text-justify" :to="playlist.uploaderUrl || '/'"> <router-link class="uk-text-justify" :to="playlist.uploaderUrl || '/'">
<img :src="playlist.uploaderAvatar" loading="lazy" class="rounded-full" /> <img :src="playlist.uploaderAvatar" loading="lazy" class="rounded-full" />
<span v-text="playlist.uploader" /> <strong v-text="playlist.uploader" />
</router-link> </router-link>
</strong>
</div> </div>
<div> <div>
<div class="right-2vw absolute"> <div class="right-2vw absolute">

View File

@ -19,12 +19,10 @@
<div v-if="results && results.corrected" style="height: 7vh"> <div v-if="results && results.corrected" style="height: 7vh">
<span v-text="$t('search.did_you_mean')" /> <span v-text="$t('search.did_you_mean')" />
<em>
<router-link <router-link :to="{ name: 'SearchResults', query: { search_query: results.suggestion } }">
:to="{ name: 'SearchResults', query: { search_query: results.suggestion } }" <em v-text="results.suggestion" />
v-text="results.suggestion" </router-link>
/>
</em>
</div> </div>
<div v-if="results" class="video-grid"> <div v-if="results" class="video-grid">
@ -49,9 +47,10 @@
</router-link> </router-link>
<a v-if="result.uploaderName" class="uk-text-muted" v-text="result.uploaderName" /> <a v-if="result.uploaderName" class="uk-text-muted" v-text="result.uploaderName" />
<strong v-if="result.videos >= 0" <template v-if="result.videos >= 0">
><br v-if="result.uploaderName" /><span v-text="`${result.videos} ${$t('video.videos')}`" <br v-if="result.uploaderName" />
/></strong> <strong v-text="`${result.videos} ${$t('video.videos')}`" />
</template>
<br /> <br />
</div> </div>

View File

@ -16,7 +16,7 @@
<div class="w-full grid grid-cols-3"> <div class="w-full grid grid-cols-3">
<router-link :to="subscription.url" class="col-start-2 block flex text-center font-bold text-4xl"> <router-link :to="subscription.url" class="col-start-2 block flex text-center font-bold text-4xl">
<img :src="subscription.avatar" class="rounded-full" width="48" height="48" /> <img :src="subscription.avatar" class="rounded-full" width="48" height="48" />
<span v-text="subscription.name" />> <span v-text="subscription.name" />
</router-link> </router-link>
<button <button
class="btn !w-min" class="btn !w-min"