1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-31 01:16:01 +02:00

fix: command bar spacing (#9288)

This commit is contained in:
Tymoteusz Czech 2025-02-11 16:17:24 +01:00 committed by GitHub
parent 54766fd4a0
commit b035299a18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -199,6 +199,20 @@ const Header = () => {
<StyledNav>
<StyledUserContainer>
<CommandBar />
<ConditionallyRender
condition={frontendHeaderRedesign}
show={
<Divider
orientation='vertical'
variant='middle'
flexItem
sx={(theme) => ({
marginLeft: theme.spacing(1),
border: 'transparent',
})}
/>
}
/>
<ConditionallyRender
condition={!frontendHeaderRedesign}
show={<HeaderEventTimelineButton />}
@ -234,7 +248,9 @@ const Header = () => {
target='_blank'
rel='noopener noreferrer'
size='large'
sx={{ mr: 1 }}
sx={(theme) => ({
marginRight: theme.spacing(1),
})}
>
<MenuBookIcon />
</StyledIconButton>