Skip to content

Commit ce1af7f

Browse files
authored
feat: add RTL support to HeaderOrgsDropdown (#328)
1 parent 03c7d72 commit ce1af7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/HeaderOrgsDropdown.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function handleKeydown(event: KeyboardEvent) {
7575
enter-from-class="opacity-0 translate-y-1"
7676
leave-to-class="opacity-0 translate-y-1"
7777
>
78-
<div v-if="isOpen" class="absolute right-0 top-full pt-2 w-56 z-50">
78+
<div v-if="isOpen" class="absolute inset-ie-0 top-full pt-2 w-56 z-50">
7979
<div class="bg-bg-elevated border border-border rounded-lg shadow-lg overflow-hidden">
8080
<div class="px-3 py-2 border-b border-border">
8181
<span class="font-mono text-xs text-fg-subtle">{{
@@ -112,7 +112,7 @@ function handleKeydown(event: KeyboardEvent) {
112112
class="link-subtle font-mono text-xs inline-flex items-center gap-1"
113113
>
114114
{{ $t('header.orgs_dropdown.view_all') }}
115-
<span class="i-carbon-arrow-right w-3 h-3" aria-hidden="true" />
115+
<span class="i-carbon:arrow-right rtl-flip w-3 h-3" aria-hidden="true" />
116116
</NuxtLink>
117117
</div>
118118
</div>

0 commit comments

Comments
 (0)