fix the top view of browse
This commit is contained in:
parent
2fca495a5d
commit
b49c079a21
4 changed files with 21 additions and 17 deletions
|
@ -1,7 +1,7 @@
|
|||
<script type="text/x-template" id="mediaitem-artwork">
|
||||
<template v-if="type == 'artists'">
|
||||
<div class="mediaitem-artwork rounded" :key="url" :style="getStyle()">
|
||||
<img :src="app.getMediaItemArtwork(url, size)"
|
||||
<img :src="app.getMediaItemArtwork(url, size, width)"
|
||||
decoding="async"
|
||||
class="mediaitem-artwork--img">
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
|||
<template v-else>
|
||||
<div class="mediaitem-artwork" :key="url" :style="getStyle()"
|
||||
v-observe-visibility="{callback: visibilityChanged}">
|
||||
<img :src="app.getMediaItemArtwork(url, size)"
|
||||
<img :src="app.getMediaItemArtwork(url, size, width)"
|
||||
decoding="async"
|
||||
class="mediaitem-artwork--img">
|
||||
<div v-if="video && isVisible" class="animatedartwork-view-box">
|
||||
|
@ -27,6 +27,10 @@
|
|||
type: String,
|
||||
default: '120'
|
||||
},
|
||||
width: {
|
||||
type: String,
|
||||
required: false
|
||||
},
|
||||
url: {
|
||||
type: String,
|
||||
default: ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue