Skip to content

Commit

Permalink
Updated side-drawer behavior for rtl (#1842)
Browse files Browse the repository at this point in the history
updated side-drawer behavior for rtl
  • Loading branch information
blakeganderson authored Dec 14, 2023
1 parent 284dbac commit 0e35554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/header-nav-chain-block/themes/news.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,10 @@
"header-nav-chain-flyout-nav-wrapper-closed": {
"styles": {
"default": {
"transform": "translate(-100vw, 0)"
"transform": "translate(calc(var(--text-direction) * -100vw), 0)"
},
"desktop": {
"transform": "translate(-315px, 0)"
"transform": "translate(calc(var(--text-direction) * -315px), 0)"
}
}
},
Expand Down

0 comments on commit 0e35554

Please sign in to comment.