Skip to content

Commit

Permalink
Fix header ui
Browse files Browse the repository at this point in the history
  • Loading branch information
camilovegag committed May 24, 2024
1 parent d5ff37c commit 2bc17c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/berlin/src/components/header/Header.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const ThemeButton = styled(Button)`
}
`;

export const MenuButton = styled.div`
export const MenuButton = styled.li`
align-items: center;
cursor: pointer;
display: flex;
Expand Down
14 changes: 7 additions & 7 deletions packages/berlin/src/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,19 @@ function Header() {
onClick={() => navigate('/account')}
icon={{ src: `/icons/user-${theme}.svg`, alt: 'User' }}
$color="primary"
$height={20}
$width={20}
/>
</>
) : (
<ZupassLoginButton>Login with Zupass</ZupassLoginButton>
)}
</DesktopButtons>
<li>
<MenuButton onClick={() => setIsBurgerMenuOpen(!isBurgerMenuOpen)}>
<Bar $isOpen={isBurgerMenuOpen} />
<Bar $isOpen={isBurgerMenuOpen} />
<Bar $isOpen={isBurgerMenuOpen} />
</MenuButton>
</li>
<MenuButton onClick={() => setIsBurgerMenuOpen(!isBurgerMenuOpen)}>
<Bar $isOpen={isBurgerMenuOpen} />
<Bar $isOpen={isBurgerMenuOpen} />
<Bar $isOpen={isBurgerMenuOpen} />
</MenuButton>
<li>
<ThemeButton onClick={toggleTheme}>
<img
Expand Down

0 comments on commit 2bc17c0

Please sign in to comment.