chore: imporove unocss class (#246)

This commit is contained in:
Chris 2022-11-30 15:30:35 +08:00 committed by GitHub
parent 9ee51a5831
commit b6502b7a72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 10 deletions

View file

@ -55,10 +55,10 @@ useCommand({
</div>
</CommonTooltip>
<CommonAnimateNumber :increased="active">
<span display-block text-secondary-light text-sm>{{ text }}</span>
<CommonAnimateNumber :increased="active" text-sm>
<span text-secondary-light>{{ text }}</span>
<template #next>
<span display-block :class="[color]" text-sm>{{ text }}</span>
<span :class="[color]">{{ text }}</span>
</template>
</CommonAnimateNumber>
</component>