From f6cc9bffdb48f3b52ccb6d940cd97b51405438da Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Sat, 23 Aug 2025 10:46:47 -0700 Subject: [PATCH] styling issue --- webui/static/script.js | 4 ---- webui/static/style.css | 10 +++++++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/webui/static/script.js b/webui/static/script.js index 31bd6bd1..83bb7b68 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -1163,8 +1163,6 @@ function switchDownloadTab(button) { } async function cancelDownloadItem(downloadId, username) { - if (!confirm('Are you sure you want to cancel this download?')) return; - try { const response = await fetch('/api/downloads/cancel', { method: 'POST', @@ -1191,8 +1189,6 @@ async function clearFinishedDownloads() { return; } - if (!confirm(`Are you sure you want to clear all ${finishedCount} finished downloads?`)) return; - try { const response = await fetch('/api/downloads/clear-finished', { method: 'POST' diff --git a/webui/static/style.css b/webui/static/style.css index b209361d..a2e1c898 100644 --- a/webui/static/style.css +++ b/webui/static/style.css @@ -2435,6 +2435,12 @@ body { } /* Tab Management */ +.download-manager__tabs { + display: flex; + gap: 4px; + margin-bottom: 8px; +} + .download-manager__tabs .tab-btn { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.7); @@ -2445,7 +2451,9 @@ body { font-size: 12px; font-weight: 500; transition: all 0.2s ease; - margin-right: 8px; + flex: 1; + text-align: center; + white-space: nowrap; } .download-manager__tabs .tab-btn.active {