Skip to content

Commit

Permalink
style: card style
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinqi committed Apr 13, 2023
1 parent dbbf61d commit a0c20d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/widgets/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ const { name, desc, active, avaterUrl } = defineProps<{
</div>
</div>
<div>
<div text-lg font-500>
<div max-w-28 :title="name" truncate text-lg font-500>
{{ name }}
</div>
<div :title="desc" max-w-28 truncate text-sm font-300>
<div truncate :title="desc" max-w-28 text-sm font-300>
{{ desc }}
</div>
</div>
Expand Down

0 comments on commit a0c20d5

Please sign in to comment.