From c47e0f22207302e4dcad9b8480e033fbe85dccd5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 9 Nov 2026 20:04:06 +0100 Subject: feat: center the tabs and swipe to switch them --- static/deck.css | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'static/deck.css') diff --git a/static/deck.css b/static/deck.css index 5bd8a5d..ee2be1f 100644 --- a/static/deck.css +++ b/static/deck.css @@ -19,24 +19,10 @@ body { .topbar { flex: none; display: flex; - align-items: center; - gap: 8px; + justify-content: center; padding: 8px 14px 0; } -.tabs { flex: 1; display: flex; gap: 6px; min-width: 0; } -.fs { - flex: none; - font: inherit; - font-size: 18px; - line-height: 1; - color: var(--udt-subtext0); - background: transparent; - border: 1px solid transparent; - border-radius: 10px; - padding: 6px 12px; - cursor: pointer; -} -.fs:hover { background: var(--udt-surface1); color: var(--udt-text); } +.tabs { display: flex; gap: 6px; } .tabs button { font: inherit; color: var(--udt-subtext0); -- cgit v1.2.3