mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
fix watchdog
- remove creating album feature from watchdog (rely on the periodic function)
This commit is contained in:
committed by
Mungai Geoffrey
parent
c9830842ed
commit
6fbf179f34
@@ -38,11 +38,11 @@ defineProps<{
|
||||
cursor: pointer;
|
||||
|
||||
.artist-image {
|
||||
width: 7em;
|
||||
height: 7em;
|
||||
width: 8em;
|
||||
height: 8em;
|
||||
border-radius: 60%;
|
||||
margin-bottom: $small;
|
||||
background-size: 7rem 7rem;
|
||||
background-size: 8rem 8rem;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
transition: all 0.5s ease-in-out;
|
||||
|
||||
@@ -7,13 +7,12 @@
|
||||
>
|
||||
<div class="index">{{ props.index }}</div>
|
||||
<div class="flex">
|
||||
<div
|
||||
class="album-art image rounded"
|
||||
:style="{
|
||||
backgroundImage: `url("${imguri + props.song.image}"`,
|
||||
}"
|
||||
@click="emitUpdate(props.song)"
|
||||
>
|
||||
<div @click="emitUpdate(props.song)" class="thumbnail">
|
||||
<img
|
||||
:src="imguri + props.song.image"
|
||||
alt=""
|
||||
class="album-art image rounded"
|
||||
/>
|
||||
<div
|
||||
class="now-playing-track image"
|
||||
v-if="props.isPlaying && props.isCurrent"
|
||||
@@ -226,20 +225,25 @@ function emitUpdate(track: Track) {
|
||||
|
||||
.flex {
|
||||
position: relative;
|
||||
padding-left: 4rem;
|
||||
align-items: center;
|
||||
|
||||
.thumbnail {
|
||||
margin-right: $small;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.album-art {
|
||||
position: absolute;
|
||||
left: $small;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
margin-right: 1rem;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.now-playing-track {
|
||||
position: absolute;
|
||||
left: $small;
|
||||
top: $small;
|
||||
}
|
||||
|
||||
.title {
|
||||
cursor: pointer;
|
||||
word-break: break-all;
|
||||
|
||||
Reference in New Issue
Block a user