Fix Mini Cart drawer not opening in RTL locales (https://github.com/woocommerce/woocommerce-blocks/pull/9066)
This commit is contained in:
parent
779e13af15
commit
6123ba4433
|
@ -67,6 +67,10 @@ $drawer-animation-duration: 0.3s;
|
||||||
max-width: 100%;
|
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 {
|
.wc-block-components-drawer__screen-overlay--with-slide-out .wc-block-components-drawer {
|
||||||
transition: transform $drawer-animation-duration;
|
transition: transform $drawer-animation-duration;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue