Navigation: Increase navigation width + make icons a consistent size (#39959)

* Navigation: Increase navigation width + make icons a consistent size

* Navigation: Move style to only apply to headers
This commit is contained in:
Ashley Harrison 2021-10-04 16:18:17 +01:00 committed by GitHub
parent 991b5fee3d
commit a3783a4eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -80,7 +80,7 @@ export function createComponents(colors: ThemeColors, shadows: ThemeShadows): Th
background: colors.mode === 'dark' ? 'rgba(0, 0, 0, 0.45)' : 'rgba(208, 209, 211, 0.24)',
},
sidemenu: {
width: 44,
width: 48,
},
};
}

View File

@ -75,6 +75,7 @@ const getStyles = (
return {
header: css`
align-items: center;
background-color: ${theme.colors.background.secondary};
border: none;
color: ${theme.colors.text.primary};

View File

@ -152,8 +152,8 @@ const getStyles = (theme: GrafanaTheme2, isActive: Props['isActive']) => ({
img {
border-radius: 50%;
height: 28px;
width: 28px;
height: 24px;
width: 24px;
}
`,
});