Skip to content

Commit

Permalink
fix(header): rtl mode had menu rendering off screen
Browse files Browse the repository at this point in the history
  • Loading branch information
davidicus committed Mar 6, 2023
1 parent b622d46 commit d86cb01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react/src/components/Header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ $hoverBgColor: #2c2c2c;
&__menu-title[role='menuitem'][aria-expanded='true'] + &__menu {
left: auto;
right: 0;
[dir='rtl'] & {
left: 0;
right: auto;
}
}

&__menu {
Expand Down

0 comments on commit d86cb01

Please sign in to comment.