Skip to content

Commit

Permalink
Fix(core): fix app menu alignment in RTL mode.
Browse files Browse the repository at this point in the history
Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
  • Loading branch information
falghamdi125 committed Nov 5, 2024
1 parent 1140e41 commit 4c1bf5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/components/AppMenuEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 4c1bf5a

Please # to comment.