]> source.dussan.org Git - sonarqube.git/commitdiff
[No Jira] Fix disabled nav items in firefox
authorJeremy Davis <jeremy.davis@sonarsource.com>
Wed, 6 Dec 2023 16:31:30 +0000 (17:31 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 7 Dec 2023 20:02:52 +0000 (20:02 +0000)
server/sonar-web/design-system/src/components/NavBarTabs.tsx

index 03f2458eeb6e42b5ec6e9a201710a92071c1de2c..e730c4e9e06f35dfe46791b4e665853e4d8cc6ee 100644 (file)
@@ -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')};