Skip to content

Commit 700cd8c

Browse files
authored
docs: Don't underline the comma when hovering over showcase item store links (#2454)
1 parent c272fbe commit 700cd8c

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

docs/.vitepress/components/UsingWxtSection.vue

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -142,32 +142,31 @@ function formatStars(r: number): string {
142142
{{ extension.shortDescription }}
143143
</p>
144144
<div v-if="extension.stores.length > 0" class="store-stats">
145-
<span class="store-stats-info">
145+
<p class="store-stats-info">
146146
<span>{{ formatUsers(extension.users) }}</span>
147147
<template v-if="extension.rating">
148148
<span class="store-stats-sep" aria-hidden="true">,</span>
149149
<span>{{ formatStars(extension.rating) }}</span>
150150
</template>
151-
</span>
152-
<span class="store-stats-sep" aria-hidden="true">&middot;</span>
153-
<span class="store-links">
154-
<a
155-
v-for="(store, i) of extension.stores"
156-
:key="store.label"
157-
:href="store.url"
158-
target="_blank"
159-
class="store-link"
160-
:title="store.label"
161-
>
162-
{{ store.label
163-
}}<span
151+
</p>
152+
<p class="store-stats-sep" aria-hidden="true">&middot;</p>
153+
<p class="store-links">
154+
<template v-for="(store, i) of extension.stores" :key="store.label">
155+
<a
156+
:href="store.url"
157+
target="_blank"
158+
class="store-link"
159+
:title="store.label"
160+
>{{ store.label }}</a
161+
>
162+
<span
164163
v-if="i < extension.stores.length - 1"
165164
class="store-stats-sep"
166165
aria-hidden="true"
167166
>,&nbsp;</span
168167
>
169-
</a>
170-
</span>
168+
</template>
169+
</p>
171170
</div>
172171
</div>
173172
</li>

0 commit comments

Comments
 (0)