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,11 @@
position: absolute;
}
[dir="rtl"] .search-card {
left: unset;
right: 0;
}
.search-icon {
position: absolute;
padding-top: 5px;
@@ -33,6 +38,11 @@
z-index: 1000;
}
[dir="rtl"] .search-icon {
left: unset;
right: 15px;
}
.search-input {
position: absolute;
border: none;
@@ -65,6 +75,11 @@
height: 100%;
}
[dir="rtl"] .menu {
right: unset;
left: 0;
}
.menu-toggle {
display: none;
}
@@ -113,6 +128,12 @@
user-select: none;
}
[dir="rtl"] .menu-options {
right: unset;
left: 0;
transform: translateX(-120%);
}
#select-denylist,
#security-patch {
display: none;