Skip to content

Commit

Permalink
fix(project): add spacing between search input and user menu icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Aug 6, 2021
1 parent e31a46e commit de99481
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/Header/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
}
}

.userMenuButton {
margin-left: 8px;
}

//
// mediaQueries
// --------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const Header: React.FC<Props> = ({

return isLoggedIn ? (
<React.Fragment>
<IconButton className={styles.iconButton} aria-label={t('open_user_menu')} onClick={() => toggleUserMenu(!userMenuOpen)}>
<IconButton className={classNames(styles.iconButton, styles.userMenuButton)} aria-label={t('open_user_menu')} onClick={() => toggleUserMenu(!userMenuOpen)}>
<AccountCircle />
</IconButton>
<Popover isOpen={userMenuOpen} onClose={() => toggleUserMenu(false)}>
Expand Down

0 comments on commit de99481

Please sign in to comment.