Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
#1627 - increase clickable space
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshparab committed Jan 22, 2021
1 parent 397039e commit 959ed2f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion v2/src/pages/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ class Header extends React.Component {
const { userProfile, routerHooks } = this.props;
const { email, name } = userProfile;
const menu = (
<Menu>
<Menu className={styles.dropdown}>
<Menu.Item role="presentation">
<div>{name}</div>
<div>{email}</div>
</Menu.Item>
<Menu.Item>
<Button
className={styles.signoutBtn}
type="text"
onClick={(e) => {
this.props.logoutOfUserProfile();
Expand Down
7 changes: 7 additions & 0 deletions v2/src/pages/Header/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@

.profileButton {
margin-left: auto;

.dropdown {
button.signoutBtn {
width: 100%;
text-align: left;
}
}
}

:global(.ant-btn-primary) {
Expand Down

0 comments on commit 959ed2f

Please sign in to comment.