Skip to content

Commit 804c8a9

Browse files
authored
feat: add RTL support to ConnectorModal (#325)
1 parent 2508878 commit 804c8a9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/components/ConnectorModal.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ watch(open, isOpen => {
8282
:aria-label="$t('common.close')"
8383
@click="open = false"
8484
>
85-
<span class="i-carbon-close block w-5 h-5" aria-hidden="true" />
85+
<span class="i-carbon:close block w-5 h-5" aria-hidden="true" />
8686
</button>
8787
</div>
8888

@@ -124,19 +124,19 @@ watch(open, isOpen => {
124124
class="flex items-center p-3 bg-bg-muted border border-border rounded-lg font-mono text-sm"
125125
>
126126
<span class="text-fg-subtle">$</span>
127-
<span class="text-fg-subtle ml-2">{{ executeNpmxConnectorCommand }}</span>
127+
<span class="text-fg-subtle ms-2">{{ executeNpmxConnectorCommand }}</span>
128128
<button
129129
type="button"
130130
:aria-label="
131131
copied ? $t('connector.modal.copied') : $t('connector.modal.copy_command')
132132
"
133-
class="ml-auto text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 rounded"
133+
class="ms-auto text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 rounded"
134134
@click="copyCommand"
135135
>
136-
<span v-if="!copied" class="i-carbon-copy block w-5 h-5" aria-hidden="true" />
136+
<span v-if="!copied" class="i-carbon:copy block w-5 h-5" aria-hidden="true" />
137137
<span
138138
v-else
139-
class="i-carbon-checkmark block w-5 h-5 text-green-500"
139+
class="i-carbon:checkmark block w-5 h-5 text-green-500"
140140
aria-hidden="true"
141141
/>
142142
</button>

0 commit comments

Comments
 (0)