mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
Navigation: Set dropdown text color to primary to match previous behaviour (#41560)
This commit is contained in:
parent
b79eab8455
commit
e0a60cf459
@ -44,6 +44,7 @@ const NavBarDropdown = ({
|
||||
isDivider={child.divider}
|
||||
icon={child.icon as IconName}
|
||||
onClick={child.onClick}
|
||||
styleOverrides={styles.item}
|
||||
target={child.target}
|
||||
text={child.text}
|
||||
url={child.url}
|
||||
@ -67,6 +68,7 @@ const getStyles = (
|
||||
return {
|
||||
header: css`
|
||||
background-color: ${theme.colors.background.secondary};
|
||||
color: ${theme.colors.text.primary};
|
||||
height: ${theme.components.sidemenu.width - (adjustHeightForBorder ? 2 : 1)}px;
|
||||
font-size: ${theme.typography.h4.fontSize};
|
||||
font-weight: ${theme.typography.h4.fontWeight};
|
||||
@ -74,6 +76,9 @@ const getStyles = (
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
`,
|
||||
item: css`
|
||||
color: ${theme.colors.text.primary};
|
||||
`,
|
||||
menu: css`
|
||||
background-color: ${theme.colors.background.primary};
|
||||
border: 1px solid ${theme.components.panel.borderColor};
|
||||
|
Loading…
Reference in New Issue
Block a user