aboutsummaryrefslogtreecommitdiff
path: root/src/tools/http-status-codes/http-status-codes.vue
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-04-20 20:49:28 +0200
committerGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-04-20 20:57:38 +0200
commitf080933d2a6f03ef54d40b57175a1bea276df675 (patch)
treed4c0abf43da4ea910f13c1f5b4a765279d6491dc /src/tools/http-status-codes/http-status-codes.vue
parentbb32513bd34948b0f0a3d739c41bda303d01cf89 (diff)
downloadit-tools-f080933d2a6f03ef54d40b57175a1bea276df675.tar.gz
it-tools-f080933d2a6f03ef54d40b57175a1bea276df675.tar.zst
it-tools-f080933d2a6f03ef54d40b57175a1bea276df675.zip
refactor(ui): replaced naive ui cards with custom ones
Diffstat (limited to 'src/tools/http-status-codes/http-status-codes.vue')
-rw-r--r--src/tools/http-status-codes/http-status-codes.vue14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/tools/http-status-codes/http-status-codes.vue b/src/tools/http-status-codes/http-status-codes.vue
index fbb0069..992fbc1 100644
--- a/src/tools/http-status-codes/http-status-codes.vue
+++ b/src/tools/http-status-codes/http-status-codes.vue
@@ -20,14 +20,12 @@
<div v-for="{ codes, category } of codesByCategoryFiltered" :key="category" mb-8>
<n-h2> {{ category }} </n-h2>
- <n-space vertical :size="20">
- <n-card v-for="{ code, description, name, type } of codes" :key="code">
- <n-space align="center">
- <n-text strong text-lg> {{ code }} {{ name }} </n-text>
- </n-space>
- <n-text depth="3">{{ description }} {{ type !== 'HTTP' ? `For ${type}.` : '' }}</n-text>
- </n-card>
- </n-space>
+ <c-card v-for="{ code, description, name, type } of codes" :key="code" mb-2>
+ <n-space align="center">
+ <n-text strong text-lg> {{ code }} {{ name }} </n-text>
+ </n-space>
+ <n-text depth="3">{{ description }} {{ type !== 'HTTP' ? `For ${type}.` : '' }}</n-text>
+ </c-card>
</div>
</div>
</template>