Skip to content

Commit

Permalink
style header items
Browse files Browse the repository at this point in the history
  • Loading branch information
ElinorW committed May 11, 2022
1 parent e7b187f commit b273371
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/app/views/main-header/MainHeader.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export const mainHeaderStyles = (theme: ITheme) => {
},
rightItemsStyles: {
root: {
alignItems: 'center',
paddingLeft: '5px'
alignItems: 'center'
}
},
feedbackIconAdjustmentStyles: {
Expand All @@ -23,7 +22,8 @@ export const mainHeaderStyles = (theme: ITheme) => {
tenantStyles: {
height: 50,
border: 'none',
cursor: 'default'
cursor: 'default',
background: theme.palette.neutralLighter
}
}
}
4 changes: 2 additions & 2 deletions src/app/views/main-header/MainHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const MainHeader: React.FunctionComponent <MainHeaderProps> = (props: Mai
</Label>
</Stack>

<Stack horizontal styles={rightItemsStyles} tokens={itemAlignmentsStackTokens}>
<Stack horizontal styles={rightItemsStyles} >
<ThemeSetting />
<span style={feedbackIconAdjustmentStyles}> <FeedbackButton /> </span>
<Settings />
Expand All @@ -87,7 +87,7 @@ export const MainHeader: React.FunctionComponent <MainHeaderProps> = (props: Mai
id={getId()}
calloutProps={{ gapSpace: 0 }}
>
<DefaultButton text={translateMessage('Tenant: Sample')} checked={true}
<DefaultButton text={translateMessage('Tenant: Sample')}
style={tenantStyles}/>
</TooltipHost>
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/views/main-header/ThemeSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export const ThemeSetting: React.FunctionComponent = () => {
<ActionButton
ariaLabel={translateMessage('change theme')}
key= 'change-theme'
iconProps= {{iconName: 'Brightness', style:{fontSize: 20}}}
text={'Theme'}
iconProps= {{iconName: 'Brightness', style:{fontSize:15 }}}
//text={'Theme'}
onClick={ () => toggleThemeChooserDialogState()}
/>
<div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/views/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function Settings(props: ISettingsProps) {
role='button'
styles={{
label: { marginBottom: -20 },
menuIcon: { fontSize: 20 }
menuIcon: { fontSize: 15 }
}}
menuIconProps={{ iconName: 'Help' }}
menuProps={menuProperties}
Expand Down

0 comments on commit b273371

Please sign in to comment.