aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorFaisal Alghamdi <falghamdi125@gmail.com>2024-10-30 16:47:44 +0300
committerskjnldsv <skjnldsv@protonmail.com>2024-11-09 11:25:37 +0100
commitcccdaa10eb355a0aaf8d01b652eb160b9366bcde (patch)
tree4cc6f69e6c571f219f9694fa5c2c66451d303424 /core/src
parentb5afb7805c024d41103fa98e32a032eb13c009d1 (diff)
downloadnextcloud-server-cccdaa10eb355a0aaf8d01b652eb160b9366bcde.tar.gz
nextcloud-server-cccdaa10eb355a0aaf8d01b652eb160b9366bcde.zip
Fix(core): fix app menu alignment in RTL mode.
Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/components/AppMenuEntry.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/components/AppMenuEntry.vue b/core/src/components/AppMenuEntry.vue
index 9ea999ad1e0..4c5acb7e9c8 100644
--- a/core/src/components/AppMenuEntry.vue
+++ b/core/src/components/AppMenuEntry.vue
@@ -86,6 +86,9 @@ watch(() => props.app.name, calculateSize)
overflow: hidden;
letter-spacing: -0.5px;
}
+ body[dir=rtl] &__label {
+ transform: translateX(50%) !important;
+ }
&__icon {
font-size: var(--app-menu-entry-font-size);
@@ -114,6 +117,9 @@ watch(() => props.app.name, calculateSize)
transition: all var(--animation-quick) ease-in-out;
opacity: 1;
}
+ body[dir=rtl] &::before {
+ transform: translateX(50%) !important;
+ }
}
&__icon,