diff options
author | 2023-04-20 20:49:28 +0200 | |
---|---|---|
committer | 2023-04-20 20:57:38 +0200 | |
commit | f080933d2a6f03ef54d40b57175a1bea276df675 (patch) | |
tree | d4c0abf43da4ea910f13c1f5b4a765279d6491dc /src/tools/text-statistics/text-statistics.vue | |
parent | bb32513bd34948b0f0a3d739c41bda303d01cf89 (diff) | |
download | it-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/text-statistics/text-statistics.vue')
-rw-r--r-- | src/tools/text-statistics/text-statistics.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/text-statistics/text-statistics.vue b/src/tools/text-statistics/text-statistics.vue index 326b2b9..aa4d684 100644 --- a/src/tools/text-statistics/text-statistics.vue +++ b/src/tools/text-statistics/text-statistics.vue @@ -1,5 +1,5 @@ <template> - <n-card> + <c-card> <n-input v-model:value="text" type="textarea" placeholder="Your text..." rows="5" /> <n-space justify="space-around" mt-5> @@ -8,7 +8,7 @@ <n-statistic label="Line count" :value="text === '' ? 0 : text.split(/\r\n|\r|\n/).length" /> <n-statistic label="Byte size" :value="formatBytes(getStringSizeInBytes(text))" /> </n-space> - </n-card> + </c-card> </template> <script setup lang="ts"> |