Fix Mini Cart drawer not opening in RTL locales (https://github.com/woocommerce/woocommerce-blocks/pull/9066)

This commit is contained in:
Albert Juhé Lluveras 2023-04-17 10:02:26 +02:00 committed by GitHub
parent 779e13af15
commit 6123ba4433
1 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,10 @@ $drawer-animation-duration: 0.3s;
max-width: 100%;
}
.rtl .wc-block-components-drawer {
transform: translateX(max(100%, var(--drawer-width)));
}
.wc-block-components-drawer__screen-overlay--with-slide-out .wc-block-components-drawer {
transition: transform $drawer-animation-duration;
}