aboutsummaryrefslogtreecommitdiff
path: root/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue
diff options
context:
space:
mode:
authorGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-06-25 15:49:43 +0200
committerGravatar GitHub <noreply@github.com> 2023-06-25 13:49:43 +0000
commit72c98a3c5ee87f3eca6b1dfbd91ea7352a3f9a81 (patch)
tree37e8fd0271641fee2db1ae8fd3d352db3398cf9e /src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue
parent05ea54547515f7fb1eed5f31ccbde10e36041fb1 (diff)
downloadit-tools-72c98a3c5ee87f3eca6b1dfbd91ea7352a3f9a81.tar.gz
it-tools-72c98a3c5ee87f3eca6b1dfbd91ea7352a3f9a81.tar.zst
it-tools-72c98a3c5ee87f3eca6b1dfbd91ea7352a3f9a81.zip
refactor(ui): remove n-text (#506)
Diffstat (limited to 'src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue')
-rw-r--r--src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue b/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue
index 3cc0c0b..3e2f437 100644
--- a/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue
+++ b/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue
@@ -96,16 +96,14 @@ function switchToBlock({ count = 1 }: { count?: number }) {
<n-table>
<tbody>
<tr v-for="{ getValue, label, undefinedFallback } in sections" :key="label">
- <td>
- <n-text strong>
- {{ label }}
- </n-text>
+ <td font-bold>
+ {{ label }}
</td>
<td>
<SpanCopyable v-if="getValue(networkInfo)" :value="getValue(networkInfo)" />
- <n-text v-else depth="3">
+ <span v-else op-70>
{{ undefinedFallback }}
- </n-text>
+ </span>
</td>
</tr>
</tbody>