styling issue
This commit is contained in:
parent
afd5662afa
commit
f6cc9bffdb
2 changed files with 9 additions and 5 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue