opt: refine rtl related code

This commit is contained in:
KOWX712
2025-07-26 00:41:36 +08:00
parent 3d9d2843fe
commit 2f5dd03530
8 changed files with 60 additions and 74 deletions

View File

@@ -26,6 +26,12 @@
font-weight: bold;
}
[dir="rtl"] #module-version,
[dir="rtl"] #title {
padding-left: unset;
padding-right: 5px;
}
.no-connection {
height: 100%;
display: flex;
@@ -45,6 +51,11 @@
display: inline-block;
}
[dir="rtl"] .language-dropdown {
margin-left: unset;
margin-right: auto;
}
.language-button {
height: 100%;
display: flex;
@@ -76,6 +87,12 @@
transition: all 0.2s ease;
}
[dir="rtl"] .language-menu {
right: unset;
left: 5px;
transform-origin: top left;
}
.language-menu.show {
opacity: 1;
transform: translateY(0) scale(1);