style: auto-fix linting issues
This commit is contained in:
parent
c34d3a7db6
commit
575e4590bc
5 changed files with 2770 additions and 1955 deletions
1567
index.html
1567
index.html
File diff suppressed because one or more lines are too long
|
|
@ -808,7 +808,8 @@ export async function handleTrackAction(
|
|||
return `
|
||||
<div class="modal-option ${alreadyContains ? 'already-contains' : ''}" data-id="${p.id}">
|
||||
<span>${p.name}</span>
|
||||
${alreadyContains
|
||||
${
|
||||
alreadyContains
|
||||
? `<button class="remove-from-playlist-btn-modal" title="Remove from playlist" style="background: transparent; border: none; color: inherit; cursor: pointer; padding: 4px; display: flex; align-items: center;">${SVG_BIN}</button>`
|
||||
: ''
|
||||
}
|
||||
|
|
|
|||
3
js/ui.js
3
js/ui.js
|
|
@ -2865,7 +2865,8 @@ export class UIRenderer {
|
|||
return;
|
||||
}
|
||||
|
||||
historyEl.innerHTML = history
|
||||
historyEl.innerHTML =
|
||||
history
|
||||
.map(
|
||||
(query) => `
|
||||
<div class="search-history-item" data-query="${escapeHtml(query)}">
|
||||
|
|
|
|||
|
|
@ -650,8 +650,8 @@ body.has-page-background .track-item:hover {
|
|||
background: var(--secondary);
|
||||
}
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
input[type='search']::-webkit-search-cancel-button {
|
||||
appearance: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -719,7 +719,6 @@ input[type="search"]::-webkit-search-cancel-button {
|
|||
}
|
||||
|
||||
@keyframes pulse {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
|
|
@ -1038,7 +1037,6 @@ input[type="search"]::-webkit-search-cancel-button {
|
|||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
|
||||
#home-recommended-songs,
|
||||
#artist-detail-tracks,
|
||||
#playlist-detail-recommended {
|
||||
|
|
|
|||
Loading…
Reference in a new issue