Skip to content

Commit

Permalink
Improve header button spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns committed Oct 25, 2024
1 parent 0e919a9 commit bba074d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,11 @@ export const ProjectHeader = ({
/>
</EuiHeaderSectionItem>

<EuiHeaderSectionItem>
<EuiHeaderSectionItem
css={css`
gap: ${euiTheme.size.s};
`}
>
<HeaderNavControls navControls$={observables.navControlsRight$} />
</EuiHeaderSectionItem>
</EuiHeaderSection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,12 @@ export const SearchBar: FC<SearchBarProps> = (opts) => {
buttonRef={visibilityButtonRef}
color="text"
data-test-subj="nav-search-reveal"
iconType="search"
onClick={() => {
setIsVisible(true);
}}
/>
>
<EuiIcon type="search" size="m" />
</EuiHeaderSectionItemButton>
);
}

Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/serverless/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class ServerlessPlugin
const { currentType } = developer.projectSwitcher;

core.chrome.navControls.registerRight({
order: 500,
order: 5000,
mount: (target) => this.mountProjectSwitcher(target, core, currentType),
});
}
Expand Down

0 comments on commit bba074d

Please sign in to comment.