diff --git a/public/app/core/components/NavBar/NavBarMenuItem.tsx b/public/app/core/components/NavBar/NavBarMenuItem.tsx index 02e45bb5f83..b978cffc30e 100644 --- a/public/app/core/components/NavBar/NavBarMenuItem.tsx +++ b/public/app/core/components/NavBar/NavBarMenuItem.tsx @@ -102,24 +102,6 @@ const getStyles = (theme: GrafanaTheme2, isActive: Props['isActive'], styleOverr background-color: ${theme.colors.action.hover}; } } - - > .pin-button { - opacity: 0; - } - - &:hover > .pin-button, - &:focus-visible > .pin-button { - opacity: 100%; - } - `, - pinButton: css` - position: relative; - flex-shrink: 2; - color: ${theme.colors.text.secondary}; - - &:focus-visible { - opacity: 100%; - } `, element: css` align-items: center; @@ -133,10 +115,6 @@ const getStyles = (theme: GrafanaTheme2, isActive: Props['isActive'], styleOverr text-align: left; white-space: nowrap; - &:focus-visible + .pin-button { - opacity: 100%; - } - &:focus-visible { outline: none; box-shadow: none; diff --git a/public/app/core/components/NavBar/Next/NavBarMenu.tsx b/public/app/core/components/NavBar/Next/NavBarMenu.tsx index bad0b3fe435..87132271c57 100644 --- a/public/app/core/components/NavBar/Next/NavBarMenu.tsx +++ b/public/app/core/components/NavBar/Next/NavBarMenu.tsx @@ -185,7 +185,7 @@ function NavItem({ if (linkHasChildren(link)) { return ( -