mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 05:27:20 +00:00
Fix clickable issues with audio-only button.
This commit is contained in:
parent
71e68bfb8c
commit
99b6836c4f
@ -1,15 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="uk-text-secondary" :style="[{ background: backgroundColor }]">
|
<div class="uk-text-secondary" :style="[{ background: backgroundColor }]">
|
||||||
<router-link class="uk-text-emphasis" v-bind:to="video.url">
|
<router-link class="uk-text-emphasis" v-bind:to="video.url">
|
||||||
|
<img
|
||||||
|
:height="height"
|
||||||
|
:width="width"
|
||||||
|
style="width: 100%"
|
||||||
|
v-bind:src="video.thumbnail"
|
||||||
|
alt="thumbnail"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
<div class="uk-position-relative">
|
<div class="uk-position-relative">
|
||||||
<img
|
|
||||||
:height="height"
|
|
||||||
:width="width"
|
|
||||||
style="width: 100%"
|
|
||||||
v-bind:src="video.thumbnail"
|
|
||||||
alt="thumbnail"
|
|
||||||
loading="lazy"
|
|
||||||
/>
|
|
||||||
<span
|
<span
|
||||||
v-if="video.duration"
|
v-if="video.duration"
|
||||||
class="uk-label uk-border-rounded uk-position-absolute video-duration"
|
class="uk-label uk-border-rounded uk-position-absolute video-duration"
|
||||||
|
Loading…
Reference in New Issue
Block a user