From: Jeremy Davis Date: Wed, 6 Dec 2023 16:31:30 +0000 (+0100) Subject: [No Jira] Fix disabled nav items in firefox X-Git-Tag: 10.4.0.87286~343 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ad07d59a6332b34d65c54826811b0a87c58b0f58;p=sonarqube.git [No Jira] Fix disabled nav items in firefox --- 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')};