Skip to content

Commit

Permalink
fix(flat-components): close popover when click popMenu element (#1646)
Browse files Browse the repository at this point in the history
* fix(flat-components): close popover when click popMenu element

* fix(flat-components): camera screen is too large
  • Loading branch information
Cheerego7 authored and crimx committed Aug 22, 2022
1 parent eeeebd3 commit 7ba7231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
height: 240px;
width: 100%;
position: relative;
overflow: hidden;
border-radius: 6px;
background-color: #000;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const MainPageNavAvatar: React.FC<MainPageNavAvatarProps> = ({
onClick={e => {
e.preventDefault();
onClick(menuItem);
togglePopMenuVisible();
}}
>
<span className="main-page-pop-menu-item-icon">
Expand Down

0 comments on commit 7ba7231

Please sign in to comment.