Skip to content

Commit a406d74

Browse files
authored
feat: add RTL support to OrgMembersPanel (#332)
1 parent bd47bae commit a406d74

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

app/components/OrgMembersPanel.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ watch(lastExecutionTime, () => {
294294
<!-- Header -->
295295
<div class="flex items-center justify-between p-4 border-b border-border">
296296
<h2 id="members-heading" class="font-mono text-sm font-medium flex items-center gap-2">
297-
<span class="i-carbon-user-multiple w-4 h-4 text-fg-muted" aria-hidden="true" />
297+
<span class="i-carbon:user-multiple w-4 h-4 text-fg-muted" aria-hidden="true" />
298298
{{ $t('org.members.title') }}
299299
<span v-if="memberList.length > 0" class="text-fg-muted">({{ memberList.length }})</span>
300300
</h2>
@@ -306,7 +306,7 @@ watch(lastExecutionTime, () => {
306306
@click="refreshData"
307307
>
308308
<span
309-
class="i-carbon-renew block w-4 h-4"
309+
class="i-carbon:renew block w-4 h-4"
310310
:class="{ 'motion-safe:animate-spin': isLoading || isLoadingTeams }"
311311
aria-hidden="true"
312312
/>
@@ -317,7 +317,7 @@ watch(lastExecutionTime, () => {
317317
<div class="flex flex-wrap items-center gap-2 p-3 border-b border-border bg-bg">
318318
<div class="flex-1 min-w-[150px] relative">
319319
<span
320-
class="absolute left-2 top-1/2 -translate-y-1/2 i-carbon-search w-3.5 h-3.5 text-fg-subtle"
320+
class="absolute inset-is-2 top-1/2 -translate-y-1/2 i-carbon:search w-3.5 h-3.5 text-fg-subtle"
321321
aria-hidden="true"
322322
/>
323323
<label for="members-search" class="sr-only">{{ $t('org.members.filter_label') }}</label>
@@ -328,7 +328,7 @@ watch(lastExecutionTime, () => {
328328
name="members-search"
329329
:placeholder="$t('org.members.filter_placeholder')"
330330
v-bind="noCorrect"
331-
class="w-full pl-7 pr-2 py-1.5 font-mono text-sm bg-bg-subtle border border-border rounded text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:border-border-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
331+
class="w-full ps-7 pe-2 py-1.5 font-mono text-sm bg-bg-subtle border border-border rounded text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:border-border-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
332332
/>
333333
</div>
334334
<div
@@ -395,7 +395,7 @@ watch(lastExecutionTime, () => {
395395
<!-- Loading state -->
396396
<div v-if="isLoading && memberList.length === 0" class="p-8 text-center">
397397
<span
398-
class="i-carbon-rotate-180 block w-5 h-5 text-fg-muted animate-spin mx-auto"
398+
class="i-carbon:rotate-180 block w-5 h-5 text-fg-muted animate-spin mx-auto"
399399
aria-hidden="true"
400400
/>
401401
<p class="font-mono text-sm text-fg-muted mt-2">{{ $t('org.members.loading') }}</p>
@@ -474,12 +474,12 @@ watch(lastExecutionTime, () => {
474474
:aria-label="$t('org.members.remove_from_org', { name: member.name })"
475475
@click="handleRemoveMember(member.name)"
476476
>
477-
<span class="i-carbon-close block w-4 h-4" aria-hidden="true" />
477+
<span class="i-carbon:close block w-4 h-4" aria-hidden="true" />
478478
</button>
479479
</div>
480480
</div>
481481
<!-- Team badges -->
482-
<div v-if="member.teams.length > 0" class="flex flex-wrap gap-1 pl-0">
482+
<div v-if="member.teams.length > 0" class="flex flex-wrap gap-1 ps-0">
483483
<button
484484
v-for="team in member.teams"
485485
:key="team"
@@ -553,7 +553,7 @@ watch(lastExecutionTime, () => {
553553
:aria-label="$t('org.members.cancel_add')"
554554
@click="showAddMember = false"
555555
>
556-
<span class="i-carbon-close block w-4 h-4" aria-hidden="true" />
556+
<span class="i-carbon:close block w-4 h-4" aria-hidden="true" />
557557
</button>
558558
</div>
559559
</form>

0 commit comments

Comments
 (0)