Skip to content

Commit fe7ffcf

Browse files
th-297: The Burger Menu Extends Beyond The Header (#305)
* th-252: * fix weird behaviour of password eye icon toggling on pressing enter * th-297: * burger menu preservers lines instead of X sign and does not overlap the header * th-297: * substitute the calcuation for burger-menu offset with explicit value definitions --------- Co-authored-by: Alina Kupchyk <[email protected]>
1 parent c54da10 commit fe7ffcf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/libs/components/burger-menu/burger-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const BurgerMenu: React.FC<Properties> = ({ burgerItems }: Properties) => {
7070
className={getValidClassNames(styles.burgerMenu, isOpen && styles.open)}
7171
>
7272
<Icon
73-
iconName={isOpen ? IconName.XMARK : IconName.BARS}
73+
iconName={IconName.BARS}
7474
onClick={toggleMenu}
7575
className={styles.burgerIcon}
7676
/>

frontend/src/libs/components/burger-menu/styles.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
.menu {
1919
position: absolute;
20-
top: 110%;
21-
right: 0;
20+
top: 68px;
21+
right: -21px;
2222
z-index: 10;
2323
width: 220px;
2424
overflow: hidden;

0 commit comments

Comments
 (0)