Skip to content

Commit 4672ade

Browse files
authored
feat: add RTL support to PackageInstallScripts (#346)
1 parent cea6729 commit 4672ade

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/components/PackageInstallScripts.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const isExpanded = shallowRef(false)
2323
id="install-scripts-heading"
2424
class="text-xs text-fg-subtle uppercase tracking-wider mb-3 flex items-center gap-2"
2525
>
26-
<span class="i-carbon-warning-alt w-3 h-3 text-yellow-500" aria-hidden="true" />
26+
<span class="i-carbon:warning-alt w-3 h-3 text-yellow-500" aria-hidden="true" />
2727
{{ $t('package.install_scripts.title') }}
2828
</h2>
2929

@@ -51,7 +51,7 @@ const isExpanded = shallowRef(false)
5151
@click="isExpanded = !isExpanded"
5252
>
5353
<span
54-
class="i-carbon-chevron-right w-3 h-3 transition-transform duration-200"
54+
class="i-carbon:chevron-right rtl-flip w-3 h-3 transition-transform duration-200"
5555
:class="{ 'rotate-90': isExpanded }"
5656
aria-hidden="true"
5757
/>
@@ -67,7 +67,7 @@ const isExpanded = shallowRef(false)
6767
<ul
6868
v-show="isExpanded"
6969
id="npx-packages-details"
70-
class="mt-2 space-y-1 list-none m-0 p-0 pl-4"
70+
class="mt-2 space-y-1 list-none m-0 p-0 ps-4"
7171
>
7272
<li
7373
v-for="[dep, version] in sortedNpxDeps"
@@ -91,10 +91,10 @@ const isExpanded = shallowRef(false)
9191
:title="getOutdatedTooltip(outdatedNpxDeps[dep])"
9292
aria-hidden="true"
9393
>
94-
<span class="i-carbon-warning-alt w-3 h-3 block" />
94+
<span class="i-carbon:warning-alt w-3 h-3 block" />
9595
</span>
9696
<span
97-
class="font-mono text-xs text-right truncate"
97+
class="font-mono text-xs text-end truncate"
9898
:class="getVersionClass(outdatedNpxDeps[dep])"
9999
:title="
100100
outdatedNpxDeps[dep]

0 commit comments

Comments
 (0)