From 4f49ec666626b7711d9166fdb9933b83b2bec186 Mon Sep 17 00:00:00 2001 From: plebeius Date: Fri, 14 Nov 2025 13:14:34 +0100 Subject: [PATCH] fix(board header): limit clickable area of subscriptions counter to text only --- src/components/board-header/board-header.module.css | 1 + src/components/board-header/board-header.tsx | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/board-header/board-header.module.css b/src/components/board-header/board-header.module.css index 7cb8caeb..e6751bc8 100644 --- a/src/components/board-header/board-header.module.css +++ b/src/components/board-header/board-header.module.css @@ -26,6 +26,7 @@ .clickableSubtitle { cursor: pointer; + display: inline-block; } .clickableSubtitle:hover { diff --git a/src/components/board-header/board-header.tsx b/src/components/board-header/board-header.tsx index bbf5fdcb..c195d0f4 100644 --- a/src/components/board-header/board-header.tsx +++ b/src/components/board-header/board-header.tsx @@ -80,11 +80,14 @@ const BoardHeader = () => { )} -
navigate('/subs/settings#subscriptions-settings') : undefined} - > - {subtitle} +
+ {isInSubscriptionsView ? ( + navigate('/subs/settings#subscriptions-settings')}> + {subtitle} + + ) : ( + subtitle + )}