From 0e35554c12b9773887b076b90d9ba7cbe4de7a35 Mon Sep 17 00:00:00 2001 From: blakeganderson <85515364+blakeganderson@users.noreply.github.com> Date: Thu, 14 Dec 2023 14:58:30 -0500 Subject: [PATCH] Updated side-drawer behavior for rtl (#1842) updated side-drawer behavior for rtl --- blocks/header-nav-chain-block/themes/news.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/header-nav-chain-block/themes/news.json b/blocks/header-nav-chain-block/themes/news.json index 72bbc37b62..122e2422ed 100644 --- a/blocks/header-nav-chain-block/themes/news.json +++ b/blocks/header-nav-chain-block/themes/news.json @@ -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)" } } },