From 61750f7126b23bc2937698db4c9e464c9715ccb7 Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Sat, 24 Sep 2022 09:14:15 +0300 Subject: [PATCH] fix ArtistName component width calculation in vTooltip + add tracklist breakpoints to virtual scroll page layout --- src/components/FolderView/SongList.vue | 19 ------- src/components/LeftSidebar/NP/SongCard.vue | 4 +- src/components/shared/ArtistName.vue | 15 ++++-- src/components/shared/TrackItem.vue | 7 ++- src/directives/vTooltip.ts | 17 ++----- src/layouts/HeaderAndVList.vue | 58 ++++++++++++++++++++-- 6 files changed, 78 insertions(+), 42 deletions(-) diff --git a/src/components/FolderView/SongList.vue b/src/components/FolderView/SongList.vue index 338d806f..ca4fe614 100644 --- a/src/components/FolderView/SongList.vue +++ b/src/components/FolderView/SongList.vue @@ -157,25 +157,6 @@ function getTrackList() { background-color: $gray4; color: $white !important; } - - .highlighted { - color: $white !important; - animation: blinker 1.5s ease 1s; - } - - @keyframes blinker { - 25% { - background-color: $gray4; - } - - 50% { - background-color: transparent; - } - - 75% { - background-color: $gray4; - } - } } } diff --git a/src/components/LeftSidebar/NP/SongCard.vue b/src/components/LeftSidebar/NP/SongCard.vue index 6b5df4fe..f9bc52bc 100644 --- a/src/components/LeftSidebar/NP/SongCard.vue +++ b/src/components/LeftSidebar/NP/SongCard.vue @@ -31,6 +31,7 @@ @@ -106,9 +107,8 @@ const imguri = paths.images.thumb.large; font-weight: 900; margin: 0 auto; } - + .artists { - font-size: 0.85rem; opacity: 0.5; margin: 0 auto; diff --git a/src/components/shared/ArtistName.vue b/src/components/shared/ArtistName.vue index c4a5e09d..d13c6bf3 100644 --- a/src/components/shared/ArtistName.vue +++ b/src/components/shared/ArtistName.vue @@ -1,9 +1,16 @@