style: auto-fix linting issues

This commit is contained in:
JulienMaille 2026-01-26 20:36:13 +00:00 committed by github-actions[bot]
parent c34d3a7db6
commit 575e4590bc
5 changed files with 2770 additions and 1955 deletions

1567
index.html

File diff suppressed because one or more lines are too long

View file

@ -808,7 +808,8 @@ export async function handleTrackAction(
return ` return `
<div class="modal-option ${alreadyContains ? 'already-contains' : ''}" data-id="${p.id}"> <div class="modal-option ${alreadyContains ? 'already-contains' : ''}" data-id="${p.id}">
<span>${p.name}</span> <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>` ? `<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>`
: '' : ''
} }

View file

@ -2865,7 +2865,8 @@ export class UIRenderer {
return; return;
} }
historyEl.innerHTML = history historyEl.innerHTML =
history
.map( .map(
(query) => ` (query) => `
<div class="search-history-item" data-query="${escapeHtml(query)}"> <div class="search-history-item" data-query="${escapeHtml(query)}">

View file

@ -650,8 +650,8 @@ body.has-page-background .track-item:hover {
background: var(--secondary); background: var(--secondary);
} }
input[type="search"]::-webkit-search-cancel-button { input[type='search']::-webkit-search-cancel-button {
-webkit-appearance: none; appearance: none;
display: none; display: none;
} }
@ -719,7 +719,6 @@ input[type="search"]::-webkit-search-cancel-button {
} }
@keyframes pulse { @keyframes pulse {
0%, 0%,
100% { 100% {
opacity: 1; opacity: 1;
@ -1038,7 +1037,6 @@ input[type="search"]::-webkit-search-cancel-button {
} }
@media (max-width: 1100px) { @media (max-width: 1100px) {
#home-recommended-songs, #home-recommended-songs,
#artist-detail-tracks, #artist-detail-tracks,
#playlist-detail-recommended { #playlist-detail-recommended {