Skip to content

Commit 101a154

Browse files
committed
fix(loading): adjust tag loader css
1 parent 74e68bc commit 101a154

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/components/common/list/ListItemPanel.vue

+9-5
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,15 @@ const onTagClick = (url?: string) => {
302302
class="tags"
303303
>
304304
<template v-if="loading && showTagLoader">
305-
<NSkeleton text style="width: 120px; height: 18px" />
305+
<NSkeleton text style="width: 120px; height: 18px; border-radius: 2px" />
306306
</template>
307307
<template v-else>
308308
<template v-for="(tag, i) of tags" :key="`${i}-${tag.label}`">
309-
<NSkeleton v-if="loading" text style="width: 6%" />
309+
<NSkeleton
310+
v-if="loading"
311+
text
312+
style="width: 120px; height: 18px; border-radius: 2px"
313+
/>
310314
<TagLink :tag="tag" @on-click="onTagClick" />
311315
</template>
312316
</template>
@@ -316,7 +320,7 @@ const onTagClick = (url?: string) => {
316320
v-if="loading"
317321
key="date-loader"
318322
text
319-
style="width: 42px; height: 18px"
323+
style="width: 42px; height: 18px; border-radius: 2px"
320324
/>
321325
<NTag
322326
v-else
@@ -334,7 +338,7 @@ const onTagClick = (url?: string) => {
334338
v-if="loading"
335339
key="collected-loader"
336340
text
337-
style="width: 22px; height: 18px"
341+
style="width: 22px; height: 18px; border-radius: 2px"
338342
/>
339343
<NTag
340344
v-else
@@ -358,7 +362,7 @@ const onTagClick = (url?: string) => {
358362
v-if="loading"
359363
key="played-loader"
360364
text
361-
style="width: 22px; height: 18px"
365+
style="width: 22px; height: 18px; border-radius: 2px"
362366
/>
363367
<NTag
364368
v-else

0 commit comments

Comments
 (0)