aboutsummaryrefslogtreecommitdiff
path: root/src/tools/jwt-parser/jwt-parser.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/tools/jwt-parser/jwt-parser.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/tools/jwt-parser/jwt-parser.vue')
-rw-r--r--src/tools/jwt-parser/jwt-parser.vue16
1 files changed, 4 insertions, 12 deletions
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>