TabsBar: Fix height so that it aligns with grid, and alignItems center (#75230)

better fix
This commit is contained in:
Torkel Ödegaard
2023-09-22 08:46:19 +02:00
committed by GitHub
parent 115038a35b
commit fb494c8880
2 changed files with 2 additions and 1 deletions
@@ -96,7 +96,7 @@ export function createComponents(colors: ThemeColors, shadows: ThemeShadows): Th
width: 57,
},
menuTabs: {
height: 41,
height: 42,
},
textHighlight: {
text: colors.warning.contrastText,
@@ -37,6 +37,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
position: 'relative',
display: 'flex',
height: `${theme.components.menuTabs.height}px`,
alignItems: 'center',
}),
});