some css fix

This commit is contained in:
vapormusic 2022-01-07 12:56:49 +07:00
parent f326930708
commit 95eb02d837
3 changed files with 20 additions and 11 deletions

View file

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list" style="width: min-content;" ><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg>

Before

Width:  |  Height:  |  Size: 482 B

After

Width:  |  Height:  |  Size: 511 B

Before After
Before After

View file

@ -688,6 +688,8 @@ input[type=range].web-slider::-webkit-slider-runnable-track {
&.app-sidebar-item-playlist {
-webkit-user-drag: element;
overflow: hidden;
text-overflow: ellipsis;
}
}
@ -3574,7 +3576,7 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
}
.playback-button--small.active {
background-color: rgba(200, 200, 200, 0.1);
background-color: rgba(200, 200, 200, 0.7);
}
.right-col{
@ -3593,6 +3595,10 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
&:hover ::-webkit-scrollbar-thumb {
box-shadow: inset 0px 0px 10px 10px rgb(200 200 200 / 50%);
}
.lyric-body{
justify-content: center;
}
}
.queue-col{

View file

@ -348,7 +348,9 @@
menus.multiple.items = menus.multiple.items.concat(this.contextExt.multiple)
}
}
let rating = await app.getRating(self.item)
try{
let rating = await app.getRating(self.item).catch();
if (rating) {
if(rating == 0) {
menus.normal.items.find(x => x.id == 'love').disabled = false
menus.normal.items.find(x => x.id == 'dislike').disabled = false
@ -357,7 +359,8 @@
}else if(rating == -1) {
menus.normal.items.find(x => x.id == 'undo_dislike').disabled = false
}
}
} catch(_){}
CiderContextMenu.Create(event, menus[useMenu])
},
visibilityChanged: function (isVisible, entry) {