refactor(ui): removed all n-space

This commit is contained in:
Corentin Thomasset 2023-05-27 17:36:15 +02:00 committed by Corentin THOMASSET
parent 34d8e5ce2c
commit 4d2b037dbe
40 changed files with 222 additions and 246 deletions

View file

@ -1,9 +1,9 @@
<template>
<router-link :to="tool.path">
<c-card class="tool-card">
<n-space justify="space-between" align="center">
<div flex items-center justify-between>
<n-icon class="icon" size="40" :component="tool.icon" />
<n-space align="center">
<div flex items-center gap-8px>
<n-tag
v-if="tool.isNew"
size="small"
@ -17,8 +17,8 @@
</n-tag>
<favorite-button :tool="tool" />
</n-space>
</n-space>
</div>
</div>
<n-h3 class="title">
<n-ellipsis>{{ tool.name }}</n-ellipsis>
</n-h3>