Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
Refactor downloads page layout and styles for improved structure and consistency
Tonho42726b4aff17
diff --git a/src/routes/downloads/+page.svelte b/src/routes/downloads/+page.svelteindex 8a4d121b..bf50db84 100644--- a/src/routes/downloads/+page.svelte+++ b/src/routes/downloads/+page.svelte@@ -1,40 +1,23 @@<div class="downloads">- <h1 class="page-title">Downloads</h1>-- <div class="empty">- <svg viewBox="0 0 24 24" width="40" height="40" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round">- <path d="M12 3v12m0 0l-4-4m4 4l4-4" />- <path d="M4 17v2a1 1 0 001 1h14a1 1 0 001-1v-2" />- </svg>- <p class="empty-text">No downloads in progress</p>- </div>+ <svg viewBox="0 0 24 24" width="40" height="40" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round">+ <path d="M12 3v12m0 0l-4-4m4 4l4-4" />+ <path d="M4 17v2a1 1 0 001 1h14a1 1 0 001-1v-2" />+ </svg>+ <p class="empty-text">No downloads in progress</p></div><style>.downloads {- max-width: 600px;- }-- .page-title {- font-size: 1.5rem;- font-weight: 600;- margin-bottom: 24px;- }-- .empty {display: flex;flex-direction: column;align-items: center;justify-content: center;- gap: 16px;- min-height: 300px;- background: var(--bg-card);- border: 1px solid var(--border);- border-radius: 12px;- color: var(--text-muted);+ min-height: calc(100vh - var(--padding) * 4);+ gap: calc(var(--padding) * 1.5);+ color: var(--gray);}.empty-text {- font-size: 0.95rem;+ font-size: 14.5px;}</style>