mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Run yarn lint.
This commit is contained in:
parent
ea4aabd4ea
commit
07529362cf
7 changed files with 22 additions and 17 deletions
|
@ -3,7 +3,7 @@
|
|||
<img
|
||||
:src="comment.thumbnail"
|
||||
class="comment-avatar uk-border-circle uk-margin-right"
|
||||
style="width: 48px; height: 48px;"
|
||||
style="width: 48px; height: 48px"
|
||||
loading="lazy"
|
||||
alt="Avatar"
|
||||
/>
|
||||
|
@ -28,7 +28,7 @@
|
|||
{{ comment.commentText }}
|
||||
</div>
|
||||
<div class="comment-footer uk-margin-small-top uk-text-meta">
|
||||
<font-awesome-icon icon="thumbs-up" style="margin-right: 4px;"></font-awesome-icon>
|
||||
<font-awesome-icon icon="thumbs-up" style="margin-right: 4px"></font-awesome-icon>
|
||||
<span>{{ numberFormat(comment.likeCount) }}</span>
|
||||
|
||||
<font-awesome-icon v-if="comment.hearted" icon="heart"></font-awesome-icon>
|
||||
|
|
|
@ -8,9 +8,7 @@
|
|||
type="button"
|
||||
@click="exportHandler"
|
||||
>
|
||||
<router-link to="/subscriptions">
|
||||
Subscriptions
|
||||
</router-link>
|
||||
<router-link to="/subscriptions"> Subscriptions </router-link>
|
||||
</button>
|
||||
|
||||
<span>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</div>
|
||||
<hr />
|
||||
|
||||
<div v-for="subscription in subscriptions" :key="subscription.url" style="text-align: center;">
|
||||
<div v-for="subscription in subscriptions" :key="subscription.url" style="text-align: center">
|
||||
<div class="uk-text-primary" :style="[{ background: backgroundColor }]">
|
||||
<a :href="subscription.url">
|
||||
<img :src="subscription.avatar" class="uk-margin-small-right uk-border-circle" width="96" height="96" />
|
||||
|
|
|
@ -6,20 +6,27 @@
|
|||
<span
|
||||
v-if="video.duration"
|
||||
class="uk-label uk-border-rounded uk-position-absolute video-duration"
|
||||
style="bottom: 5px; right: 5px; background: rgba(0, 0, 0, .75); color: white; padding: 0 5px;"
|
||||
style="bottom: 5px; right: 5px; background: rgba(0, 0, 0, 0.75); color: white; padding: 0 5px"
|
||||
>{{ timeFormat(video.duration) }}</span
|
||||
>
|
||||
<span
|
||||
v-if="video.watched"
|
||||
class="uk-label uk-border-rounded uk-position-absolute video-duration"
|
||||
style="bottom: 5px; left: 5px; background: rgba(0, 0, 0, .75); color: white; padding: 0 5px;"
|
||||
style="bottom: 5px; left: 5px; background: rgba(0, 0, 0, 0.75); color: white; padding: 0 5px"
|
||||
>{{ $t("video.watched") }}</span
|
||||
>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p
|
||||
style="padding-top: 0.5rem; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;"
|
||||
style="
|
||||
padding-top: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
"
|
||||
:title="video.title"
|
||||
>
|
||||
{{ video.title }}
|
||||
|
@ -45,11 +52,11 @@
|
|||
loading="lazy"
|
||||
:alt="video.uploaderName"
|
||||
class="uk-border-circle"
|
||||
style="margin-right: 0.5rem; margin-top:0.5rem; width: 32px; height: 32px;"
|
||||
style="margin-right: 0.5rem; margin-top: 0.5rem; width: 32px; height: 32px"
|
||||
/>
|
||||
</router-link>
|
||||
|
||||
<div style="width: calc(100% - 32px - 8px);">
|
||||
<div style="width: calc(100% - 32px - 8px)">
|
||||
<router-link
|
||||
v-if="video.uploaderUrl && video.uploaderName && !hideChannel"
|
||||
class="uk-link-muted uk-overflow-hidden"
|
||||
|
|
Loading…
Reference in a new issue