Skip to content

Commit fe33bf3

Browse files
authored
feat: add RTL support to DependencyPathPopup (#327)
1 parent ce1af7f commit fe33bf3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/DependencyPathPopup.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function parsePackageString(pkg: string): { name: string; version: string } {
7171
:aria-expanded="isOpen"
7272
@click.stop="togglePopup"
7373
>
74-
<span class="i-carbon-tree-view w-3 h-3" aria-hidden="true" />
74+
<span class="i-carbon:tree-view w-3 h-3" aria-hidden="true" />
7575
<span>{{ $t('package.vulnerabilities.path') }}</span>
7676
</button>
7777

@@ -89,7 +89,7 @@ function parsePackageString(pkg: string): { name: string; version: string } {
8989
class="font-mono text-xs"
9090
:style="{ paddingLeft: `${idx * 12}px` }"
9191
>
92-
<span v-if="idx > 0" class="text-fg-subtle mr-1">└─</span>
92+
<span v-if="idx > 0" class="text-fg-subtle me-1">└─</span>
9393
<NuxtLink
9494
:to="{
9595
name: 'package',
@@ -107,7 +107,7 @@ function parsePackageString(pkg: string): { name: string; version: string } {
107107
>
108108
{{ pathItem }}
109109
</NuxtLink>
110-
<span v-if="idx === path.length - 1" class="ml-1 text-amber-500">⚠</span>
110+
<span v-if="idx === path.length - 1" class="ms-1 text-amber-500">⚠</span>
111111
</li>
112112
</ul>
113113
</div>

0 commit comments

Comments
 (0)