From 08e32580f9ecb7b43a4ba099e7c77e874003170f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Wed, 22 Jan 2025 15:08:10 -0600 Subject: [PATCH] Highlight tabs on hover --- src/components/Tab.svelte | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/Tab.svelte b/src/components/Tab.svelte index b396f2e36..afb7b5125 100644 --- a/src/components/Tab.svelte +++ b/src/components/Tab.svelte @@ -55,6 +55,16 @@ width: 100%; } + .wrapper:hover:not(.active)::after { + position: absolute; + z-index: 1; + content: " "; + background-color: var(--color-foreground-dim); + height: 2px; + bottom: -4px; + width: 100%; + } + .container.disabled { color: var(--color-foreground-disabled); }