@@ -32,24 +31,18 @@ export function TopSearchBar() {
@@ -62,6 +55,7 @@ const getStyles = (theme: GrafanaTheme2) => {
container: css({
height: TOP_BAR_LEVEL_HEIGHT,
display: 'grid',
+ gap: theme.spacing(0.5),
gridTemplateColumns: '1fr 2fr 1fr',
padding: theme.spacing(0, 2),
alignItems: 'center',
@@ -77,25 +71,15 @@ const getStyles = (theme: GrafanaTheme2) => {
searchInput: css({}),
actions: css({
display: 'flex',
- gap: theme.spacing(1),
+ gap: theme.spacing(0.5),
justifyContent: 'flex-end',
}),
- actionItem: css({
- display: 'flex',
- flexGrow: 0,
- border: 'none',
- boxShadow: 'none',
- background: 'none',
- alignItems: 'center',
-
- color: theme.colors.text.secondary,
- '&:hover': {
- background: theme.colors.background.secondary,
- },
+ profileButton: css({
img: {
borderRadius: '50%',
- width: '24px',
height: '24px',
+ marginRight: 0,
+ width: '24px',
},
}),
};