Skip to content

Commit 2c75eae

Browse files
committed
chore: update
1 parent 1ec9ddd commit 2c75eae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/CollectionEntry.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defineProps<{
1313
:key="collection.id"
1414
p3 relative
1515
border="~ base"
16-
:class="collection.hidden ? 'opacity-64 border-dashed hover:opacity-100' : ''"
16+
:class="{ 'border-dashed': collection.hidden }"
1717
class="grid grid-cols-[1fr_90px] gap2 items-center color-base transition-all translate-z-0 group"
1818
hover="text-primary !border-primary shadow"
1919
:to="`/collection/${collection.id}`"
@@ -22,8 +22,8 @@ defineProps<{
2222
<div class="flex-auto text-lg leading-1em my1" :class="{ 'line-through group-hover:no-underline': collection.hidden }">
2323
{{ collection.name }}
2424
<span inline-flex align-top flex="items-center gap-0.5" m="l--0.5">
25-
<span v-if="isFavoritedCollection(collection.id)" op80 text-xs inline-block i-carbon-star-filled />
26-
<span v-if="collection.hidden" op80 text-xs text-orange inline-block i-carbon:information-disabled />
25+
<div v-if="isFavoritedCollection(collection.id)" op80 text-xs i-carbon-star-filled />
26+
<div v-if="collection.hidden" op80 text-xs text-orange i-carbon:information-disabled />
2727
</span>
2828
</div>
2929
<div flex="~ col auto" opacity-50 text-xs>

0 commit comments

Comments
 (0)