From ad07d59a6332b34d65c54826811b0a87c58b0f58 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Wed, 6 Dec 2023 17:31:30 +0100 Subject: [PATCH] [No Jira] Fix disabled nav items in firefox --- .../sonar-web/design-system/src/components/NavBarTabs.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/sonar-web/design-system/src/components/NavBarTabs.tsx b/server/sonar-web/design-system/src/components/NavBarTabs.tsx index 03f2458eeb6..e730c4e9e06 100644 --- a/server/sonar-web/design-system/src/components/NavBarTabs.tsx +++ b/server/sonar-web/design-system/src/components/NavBarTabs.tsx @@ -122,10 +122,9 @@ const NavBarTabLinkWrapper = styled.li` content: attr(data-text); } - &:has(a.disabled-link) > a, - &:has(a.disabled-link) > a:hover, - &:has(a.disabled-link) > a.hover, - &:has(a.disabled-link)[aria-expanded='true'] { + & > a.disabled-link, + & > a.disabled-link:hover, + & > a.disabled-link.hover { ${tw`sw-cursor-default`}; border-bottom: ${themeBorder('xsActive', 'transparent', 1)}; color: ${themeContrast('subnavigationDisabled')}; -- 2.39.5