From 4d2b037dbe4e78aa90a4a6d9c7315dcf0a51fed9 Mon Sep 17 00:00:00 2001
From: Corentin Thomasset <corentin.thomasset74@gmail.com>
Date: Sat, 27 May 2023 17:36:15 +0200
Subject: refactor(ui): removed all n-space

---
 src/tools/jwt-parser/jwt-parser.vue | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

(limited to 'src/tools/jwt-parser/jwt-parser.vue')

diff --git a/src/tools/jwt-parser/jwt-parser.vue b/src/tools/jwt-parser/jwt-parser.vue
index c103d63..7a987b6 100644
--- a/src/tools/jwt-parser/jwt-parser.vue
+++ b/src/tools/jwt-parser/jwt-parser.vue
@@ -10,20 +10,12 @@
           <th colspan="2" class="table-header">{{ section.title }}</th>
           <tr v-for="{ claim, claimDescription, friendlyValue, value } in decodedJWT[section.key]" :key="claim + value">
             <td class="claims">
-              <n-space>
-                <n-text strong>{{ claim }}</n-text>
-                <template v-if="claimDescription">
-                  <n-text depth="3">({{ claimDescription }})</n-text>
-                </template>
-              </n-space>
+              <n-text strong>{{ claim }}</n-text>
+              <n-text v-if="claimDescription" depth="3" ml-2>({{ claimDescription }})</n-text>
             </td>
             <td>
-              <n-space>
-                <n-text>{{ value }}</n-text>
-                <template v-if="friendlyValue">
-                  <n-text depth="3">({{ friendlyValue }})</n-text>
-                </template>
-              </n-space>
+              <n-text>{{ value }}</n-text>
+              <n-text v-if="friendlyValue" ml-2 depth="3">({{ friendlyValue }})</n-text>
             </td>
           </tr>
         </template>
-- 
cgit v1.2.3

