Skip to content

Commit

Permalink
fix styling when logged in (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored May 2, 2022
1 parent cbbf851 commit a9e1640
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/menu-extension/src/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,12 @@ export class MenuButton extends ReactWidget {
src={profile.avatar_url}
shape="circle"
alt={`${profile.name.slice(0, 2).toLocaleUpperCase()}`}
></Avatar>
style={{ width: '28px', height: '28px' }}
/>
<span className="hamburger-menu-text">Menu</span>
<hamburgerIcon.react
className="hamburger-icon"
tag="span"
width="28px"
height="28px"
/>
</div>
)}
Expand Down
4 changes: 4 additions & 0 deletions packages/menu-extension/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
transform: translate(-3px, 2px);
}

#login-menu jp-avatar {
transform: translate(-3px, 0px);
}

.hamburger-icon {
display: block;
border-left: 1px solid #888;
Expand Down

0 comments on commit a9e1640

Please sign in to comment.