From c47ee60bc1589a8b6775a9a70c9644476171171c Mon Sep 17 00:00:00 2001 From: aptt Date: Thu, 9 Jan 2025 17:29:24 +0100 Subject: [PATCH] =?UTF-8?q?feat(frontend):=20=F0=9F=8E=B8=20strike-though?= =?UTF-8?q?=20disabled=20user=20menu=20items?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lib/components/UserMenu.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/lib/components/UserMenu.svelte b/frontend/src/lib/components/UserMenu.svelte index 3fb7bb2..3d827ac 100644 --- a/frontend/src/lib/components/UserMenu.svelte +++ b/frontend/src/lib/components/UserMenu.svelte @@ -168,6 +168,11 @@ padding-inline: 1.5rem; padding-block: 0.75rem; + &[data-disabled] { + color: inherit !important; + text-decoration: line-through; + } + &[data-state='open'] { color: var(--colorOrange0); }