Skip to content

Commit

Permalink
Align kiali head
Browse files Browse the repository at this point in the history
  • Loading branch information
aljesusg committed Jan 30, 2024
1 parent 6622f47 commit 5377104
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions plugins/kiali/src/pages/Kiali/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ export const KialiHeader = (props: { title: string }) => {

<ContentHeader title={title}>
<Grid container spacing={1}>
<Grid item xs={homeCluster ? 2 : 3} />
{homeCluster && (
<Grid item>
<Grid item xs={3}>
<Tooltip
title={<div>Kiali home cluster: {homeCluster?.name}</div>}
>
Expand All @@ -78,12 +79,12 @@ export const KialiHeader = (props: { title: string }) => {
</Tooltip>
</Grid>
)}
<Grid item>
<Button onClick={handleClick}>
<Grid item xs={1}>
<Button onClick={handleClick} style={{ marginTop: '5px' }}>
<QuestionCircleIcon />
</Button>
</Grid>
<Grid item>
<Grid item xs={1}>
<MessageCenter />
</Grid>
<Grid item>
Expand All @@ -94,8 +95,8 @@ export const KialiHeader = (props: { title: string }) => {
<MenuItem onClick={openAbout}>About</MenuItem>
</Menu>
</Grid>
<Grid item>
{kialiState.authentication.session && (
{kialiState.authentication.session && (
<Grid item>
<div
style={{
display: 'flex',
Expand All @@ -108,8 +109,8 @@ export const KialiHeader = (props: { title: string }) => {
{kialiState.authentication.session.username || 'anonymous'}
</span>
</div>
)}
</Grid>
</Grid>
)}
</Grid>
</ContentHeader>
<AboutUIModal
Expand Down

0 comments on commit 5377104

Please sign in to comment.