Skip to content

Commit bedbe31

Browse files
committed
perf: update icon
1 parent 9e7f9fd commit bedbe31

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

ui/components/SettingItems/settingItems.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,9 @@ const onPathClick = () => {
217217
<UButton label="Select path" color="neutral" variant="outline" @click="selectExecutablePath()" />
218218
</template>
219219
<template v-else>
220-
<div class="flex max-w-full items-center gap-2">
220+
<div class="flex items-center gap-2">
221221
<div
222-
class="inline-flex max-w-full items-center truncate rounded bg-gray-100/80 px-2 py-0.5 text-xs leading-tight text-gray-600 dark:bg-white/10 dark:text-gray-300"
222+
class="inline-flex items-center truncate rounded bg-gray-100/80 px-2 py-0.5 text-xs leading-tight text-gray-600 dark:bg-white/10 dark:text-gray-300"
223223
:class="{ 'cursor-pointer hover:bg-gray-200/60 dark:hover:bg-white/15': isWindowsPathPickTarget }"
224224
:title="props.item.path || '-'"
225225
@click="onPathClick"
@@ -232,10 +232,12 @@ const onPathClick = () => {
232232
size="xs"
233233
color="neutral"
234234
variant="ghost"
235-
icon="i-lucide-copy"
235+
square
236236
:title="t('Setting.CopyPath')"
237237
@click.stop="handleCopyPath"
238-
/>
238+
>
239+
<UIcon name="lucide:copy" class="size-3.5" />
240+
</UButton>
239241
</div>
240242
</template>
241243
</div>

0 commit comments

Comments
 (0)