Skip to content

Commit 37a1f33

Browse files
authored
Merge pull request #666 from MoYingJi/pr/s
style(setting): 优化本地目录样式
2 parents bc4fe7a + 7783aea commit 37a1f33

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/components/Setting/LocalSetting.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@
2626
<template #icon>
2727
<SvgIcon name="Folder" />
2828
</template>
29-
更改
29+
添加
3030
</n-button>
3131
</n-flex>
3232
<n-collapse-transition :show="settingStore.localFilesPath.length > 0">
3333
<n-card
3434
v-for="(item, index) in settingStore.localFilesPath"
3535
:key="index"
3636
class="set-item"
37+
content-style="padding: 4px 16px"
3738
>
3839
<div class="label">
3940
<n-text class="name">{{ item }}</n-text>
@@ -61,14 +62,15 @@
6162
<template #icon>
6263
<SvgIcon name="Folder" />
6364
</template>
64-
更改
65+
添加
6566
</n-button>
6667
</n-flex>
6768
<n-collapse-transition :show="settingStore.localLyricPath.length > 0">
6869
<n-card
6970
v-for="(item, index) in settingStore.localLyricPath"
7071
:key="index"
7172
class="set-item"
73+
content-style="padding: 4px 16px"
7274
>
7375
<div class="label">
7476
<n-text class="name">{{ item }}</n-text>

src/views/Local/layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<SvgIcon :size="20" name="Folder" />
124124
</template>
125125
<template #suffix>
126-
<n-button quaternary @click="changeLocalMusicPath(index)">
126+
<n-button :focusable="false" quaternary @click="changeLocalMusicPath(index)">
127127
<template #icon>
128128
<SvgIcon :size="20" name="Delete" />
129129
</template>

0 commit comments

Comments
 (0)