aboutsummaryrefslogtreecommitdiff
path: root/src/components/ToolCard.vue
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-05-27 17:36:15 +0200
committerGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-05-27 17:53:13 +0200
commit4d2b037dbe4e78aa90a4a6d9c7315dcf0a51fed9 (patch)
treefe107c22780cb88fe0839a7940c0a26a1f58d76a /src/components/ToolCard.vue
parent34d8e5ce2ca5d7a27c19ee2cb704bbfd3a215b29 (diff)
downloadit-tools-4d2b037dbe4e78aa90a4a6d9c7315dcf0a51fed9.tar.gz
it-tools-4d2b037dbe4e78aa90a4a6d9c7315dcf0a51fed9.tar.zst
it-tools-4d2b037dbe4e78aa90a4a6d9c7315dcf0a51fed9.zip
refactor(ui): removed all n-space
Diffstat (limited to 'src/components/ToolCard.vue')
-rw-r--r--src/components/ToolCard.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/ToolCard.vue b/src/components/ToolCard.vue
index 64dc113..db67914 100644
--- a/src/components/ToolCard.vue
+++ b/src/components/ToolCard.vue
@@ -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>