Adjusted dialog for right-to-left languages

This commit is contained in:
squidfunk 2020-02-26 09:40:13 +01:00
parent 2a63915a3e
commit 4f2fc18fbd

View File

@ -47,6 +47,12 @@
opacity: 0;
z-index: 2;
// Adjust for right-to-left languages
[dir="rtl"] & {
right: initial;
left: px2rem(16px);;
}
// Show open dialog
&[data-md-state="open"] {
transform: translateY(0);