Skip to content

Commit dd239e0

Browse files
committed
feat: Horizontal ShareLinks
1 parent 06f7225 commit dd239e0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/.vuepress/theme/components/ShareLinks.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
<span class="toc-title">
44
{{ $themeLocaleConfig.shareLinksText }}
55
</span>
6-
<ul class="toc-list">
6+
<ul
7+
class="toc-list"
8+
:class="{ 'horizontal': horizontal }"
9+
>
710
<li
811
v-for="(item, index) in shareLinks"
912
:key="`share-item-${index}`"
@@ -40,6 +43,10 @@ export default {
4043
summary: {
4144
type: String,
4245
default: ''
46+
},
47+
48+
horizontal: {
49+
type: Boolean
4350
}
4451
},
4552

0 commit comments

Comments
 (0)