From f422d754b94282af83298d63b8c720f9e4fea786 Mon Sep 17 00:00:00 2001 From: Mattias Tall Date: Tue, 26 May 2026 17:12:18 +0200 Subject: [PATCH] Compact all mode/tab switchers site-wide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Home feed mode: px-3 py-1.5 text-sm → px-2 py-1 text-xs, tighter container Hide-watched toggle: same reduction Following tabs: px-4 py-2 text-sm → px-3 py-1.5 text-xs, "Latest uploads" → "Feed" Discovery tabs: same reduction Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/Discovery.jsx | 2 +- frontend/src/pages/Following.jsx | 8 ++++---- frontend/src/pages/Home.jsx | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/pages/Discovery.jsx b/frontend/src/pages/Discovery.jsx index b25c6ac..20b73af 100644 --- a/frontend/src/pages/Discovery.jsx +++ b/frontend/src/pages/Discovery.jsx @@ -176,7 +176,7 @@ function Tab({ active, onClick, children, count }) { ))} diff --git a/frontend/src/pages/Home.jsx b/frontend/src/pages/Home.jsx index 38cce0b..286d49b 100644 --- a/frontend/src/pages/Home.jsx +++ b/frontend/src/pages/Home.jsx @@ -129,7 +129,7 @@ export default function Home() { onClick={handleHideWatchedToggle} title={hideWatched ? "Showing unwatched only" : "Showing all videos"} className={[ - "flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors border", + "flex items-center gap-1 px-2 py-1 rounded-md text-xs font-medium transition-colors border", hideWatched ? "bg-accent/10 text-accent border-accent/30" : "text-zinc-500 border-zinc-800 hover:text-zinc-300 hover:border-zinc-700", @@ -144,14 +144,14 @@ export default function Home() { {hideWatched ? "Unwatched" : "All"} -
+
{FEED_MODES.map(m => (