Further improve CLS.

This commit is contained in:
FireMasterK 2021-04-24 00:41:51 +05:30
parent c26bf4f6fd
commit 96d22af5c7
No known key found for this signature in database
GPG Key ID: 8DFF5DD33E93DB58
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template>
<div v-if="channel">
<h1 class="uk-text-center"><img v-bind:src="channel.avatarUrl" />{{ channel.name }}</h1>
<h1 class="uk-text-center"><img height="48" width="48" v-bind:src="channel.avatarUrl" />{{ channel.name }}</h1>
<img v-if="channel.bannerUrl" v-bind:src="channel.bannerUrl" style="width: 100%" loading="lazy" />
<p v-html="this.channel.description.replaceAll('\n', '<br>')"></p>

View File

@ -1,7 +1,7 @@
<template>
<div v-if="playlist">
<h1 class="uk-text-center">
<img v-bind:src="playlist.avatarUrl" loading="lazy" />
<img v-bind:src="playlist.avatarUrl" height="48" width="48" loading="lazy" />
{{ playlist.name }}
</h1>
@ -23,7 +23,7 @@
v-for="item in this.playlist.relatedStreams"
>
<router-link class="uk-link-muted uk-text-justify" v-bind:to="item.url || '/'">
<img style="width: 100%" v-bind:src="item.thumbnail" loading="lazy" />
<img style="width: 100%" height="94" width="168" v-bind:src="item.thumbnail" loading="lazy" />
<a>{{ item.title }}</a>
</router-link>
<br />