perf(theme): improve contributors styles

This commit is contained in:
pengzhanbo 2024-12-17 00:10:21 +08:00
parent 7a85035e97
commit 4d18728234
2 changed files with 5 additions and 1 deletions

View File

@ -39,6 +39,10 @@ const hasContributors = computed(() => Boolean(contributors.value.length) && mod
list-style: none;
}
.vp-doc-contributor .contributor-list li {
margin: 0;
}
.contributor-list .contributor img {
width: 32px;
height: 32px;

View File

@ -25,7 +25,7 @@ export function useContributors(): {
if (config === false)
return []
return page.value.git?.contributors ?? []
return (page.value.git?.contributors ?? []).reverse()
})
return { mode, contributors }