perf(ChangeLog): update styles

This commit is contained in:
thehrz 2023-07-06 16:53:06 +08:00
parent 9ef650d7dc
commit cf7986ba5a
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158

View File

@ -14,13 +14,17 @@ const { isFetching, data } = useFetch('https://git.thehrz.net/api/v1/repos/thehr
</script>
<template>
<v-card>
<p v-if="isFetching">
Loading...
</p>
<v-list v-else lines="two">
<v-list-item v-for="commit in data" :key="commit.commit.message" :title="commit.commit.message" subtitle="..." />
<v-list v-else color="primary">
<v-list-item
v-for="commit in data" :key="commit.commit.message" :title="commit.commit.message"
:subtitle="`${commit.sha.slice(0, 6)} ${commit.author.username}`"
/>
</v-list>
</v-card>
</template>
<style scoped></style>