reduce album image size in player

This commit is contained in:
Thomas Amland 2021-04-17 20:51:58 +02:00
parent 40574314f7
commit 86e66425d2

View File

@ -9,18 +9,11 @@
<!-- Track info ---> <!-- Track info --->
<div class="col p-0 d-flex flex-nowrap align-items-center justify-content-start" style="width: 0; min-width: 0"> <div class="col p-0 d-flex flex-nowrap align-items-center justify-content-start" style="width: 0; min-width: 0">
<template v-if="track"> <template v-if="track">
<router-link :to="{ name: 'queue' }"> <router-link :to="{ name: 'queue' }" style="padding: 12px">
<template v-if="track.image"> <img v-if="track.image" width="52px" height="52px" :src="track.image">
<img class="d-sm-none" width="64px" height="64px" :src="track.image"> <img v-else width="52px" height="52px" src="@/shared/assets/fallback.svg">
<img class="d-none d-sm-inline-block" width="74px" height="74px" :src="track.image">
</template>
<template v-else>
<img class="d-sm-none" width="64px" height="64px" src="@/shared/assets/fallback.svg">
<img class="d-none d-sm-inline-block" width="74px" height="74px" src="@/shared/assets/fallback.svg">
</template>
</router-link> </router-link>
<div style="min-width: 0">
<div class="pl-3" style="min-width: 0">
<div class="text-truncate"> <div class="text-truncate">
{{ track.title }} {{ track.title }}
</div> </div>