This commit is contained in:
2026-09-28 20:40:33 +02:00
parent dde0a2d271
commit b96f188a59
5 changed files with 320 additions and 32 deletions
+10
View File
@@ -3977,6 +3977,16 @@ body.sidebar-right-hidden #sidebar-drag-zone {
color: #fff;
}
/* Tuner presets bar + footer: wrap onto more lines instead of overflowing the sidebar */
.f0ck-tuner-presets-bar { min-width: 0; max-width: 100%; box-sizing: border-box; }
.f0ck-tuner-presets-select-wrap { min-width: 0; }
.f0ck-tuner-presets-select-wrap .f0ck-tuner-preset-select { min-width: 0; }
.f0ck-tuner-presets-actions { flex-wrap: wrap; min-width: 0; }
.f0ck-tuner-presets-actions .f0ck-tuner-preset-input { flex: 1 1 100%; min-width: 0; box-sizing: border-box; }
.f0ck-tuner-presets-actions > button { flex: 1 1 auto; justify-content: center; }
.f0ck-tuner-footer { flex-wrap: wrap; }
.f0ck-tuner-footer > button { flex: 1 1 auto; min-width: 0; }
/* ── Tuner: style guide (square, flat, theme colours, no glow) + touch-friendly sliders ── */
.f0ck-audio-tuner-panel,
.f0ck-audio-tuner-panel *,
+1 -7
View File
@@ -2274,14 +2274,8 @@ class CommentSystem {
: `<div class="comment-avatar">${comment.username ? `<a href="/user/${comment.username}">` : ''}<img src="${comment.avatar_file ? `/a/${comment.avatar_file}` : (comment.avatar ? `/t/${comment.avatar}.webp` : '/a/default.png')}">${comment.username ? `</a>` : ''}</div>`;
const isAnon = isAnonGuest || comment.is_anon || comment.anon_fingerprint || comment.username === 'anonymous' || (comment.username && comment.username.startsWith('anon_'));
const anonFp = comment.anon_fingerprint || '';
const anonShortFp = comment.anon_short_fingerprint || (anonFp ? anonFp.slice(7, 15) : '');
const anonTripcodeHtml = anonShortFp
? ` <span class="anon-tripcode" data-fingerprint="${this.escapeHtml(anonFp)}" tooltip="${this.escapeHtml(anonFp)} (OpenSSH Ed25519)">[${this.escapeHtml(anonShortFp)}]</span>`
: '';
const authorHtml = isAnon
? `<span class="comment-author">anonymous</span>${anonTripcodeHtml}`
? `<span class="comment-author">anonymous</span>`
: (comment.username
? `<a href="/user/${comment.username}" class="comment-author" tooltip="ID: ${authorUserId ?? ''}" ${authorUsernameColor ? `style="color: ${authorUsernameColor}"` : ''}>${this.escapeHtml(comment.display_name || comment.username)}</a>`
: '<span class="comment-author">System</span>');
-3
View File
@@ -21133,7 +21133,6 @@ document.addEventListener('DOMContentLoaded', () => {
clearReportError();
reportModal.style.display = 'flex';
document.body.classList.add('modal-open');
setTimeout(() => { try { reportReason.focus(); } catch(err){} }, 50);
if (window.renderReportRecaptcha) window.renderReportRecaptcha();
}
@@ -21148,7 +21147,6 @@ document.addEventListener('DOMContentLoaded', () => {
clearReportError();
reportModal.style.display = 'flex';
document.body.classList.add('modal-open');
setTimeout(() => { try { reportReason.focus(); } catch(err){} }, 50);
if (window.renderReportRecaptcha) window.renderReportRecaptcha();
}
@@ -21163,7 +21161,6 @@ document.addEventListener('DOMContentLoaded', () => {
clearReportError();
reportModal.style.display = 'flex';
document.body.classList.add('modal-open');
setTimeout(() => { try { reportReason.focus(); } catch(err){} }, 50);
if (window.renderReportRecaptcha) window.renderReportRecaptcha();
}