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

1575
index.html

File diff suppressed because one or more lines are too long

View file

@ -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>`
: ''
}

View file

@ -244,7 +244,7 @@ export class Player {
// Warm connection/cache
// For Blob URLs (DASH), this head request is not needed and can cause errors.
if (!streamUrl.startsWith('blob:')) {
fetch(streamUrl, { method: 'HEAD', signal: this.preloadAbortController.signal }).catch(() => { });
fetch(streamUrl, { method: 'HEAD', signal: this.preloadAbortController.signal }).catch(() => {});
}
} catch (error) {
if (error.name !== 'AbortError') {

View file

@ -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)}">

View file

@ -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 {
@ -1638,11 +1636,11 @@ input[type="search"]::-webkit-search-cancel-button {
border-radius: 50%;
}
input:checked+.slider {
input:checked + .slider {
background-color: var(--primary);
}
input:checked+.slider::before {
input:checked + .slider::before {
transform: translateX(16px);
background-color: var(--primary-foreground);
}