Skip to content

Commit

Permalink
fix: log style
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Dec 2, 2024
1 parent 7aaeaec commit 99c4f77
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/views/LogsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
<div
v-for="log in renderLogs"
:key="log.seq"
class="card w-full flex-row flex-wrap gap-2 break-all rounded-xl bg-base-100 p-2 text-sm shadow-lg"
class="card block rounded-xl bg-base-100 p-2 text-sm shadow-lg"
>
<span>{{ log.seq }}</span>
<span class="text-primary">{{ dayjs(log.time).locale(language).format('HH:mm:ss') }}</span>
<span class="mx-2 text-primary">{{
dayjs(log.time).locale(language).format('HH:mm:ss')
}}</span>
<span :class="textColorMapForType[log.type]">{{ log.type }}</span>
<span>{{ log.payload }}</span>
<span class="ml-2">{{ log.payload }}</span>
</div>
</div>
</template>
Expand Down

0 comments on commit 99c4f77

Please sign in to comment.