aboutsummaryrefslogtreecommitdiff
path: root/src/tools/text-statistics/text-statistics.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/text-statistics/text-statistics.vue')
-rw-r--r--src/tools/text-statistics/text-statistics.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tools/text-statistics/text-statistics.vue b/src/tools/text-statistics/text-statistics.vue
index 84d4a52..326b2b9 100644
--- a/src/tools/text-statistics/text-statistics.vue
+++ b/src/tools/text-statistics/text-statistics.vue
@@ -1,9 +1,8 @@
<template>
<n-card>
<n-input v-model:value="text" type="textarea" placeholder="Your text..." rows="5" />
- <br />
- <br />
- <n-space justify="space-around">
+
+ <n-space justify="space-around" mt-5>
<n-statistic label="Character count" :value="text.length" />
<n-statistic label="Word count" :value="text === '' ? 0 : text.split(/\s+/).length" />
<n-statistic label="Line count" :value="text === '' ? 0 : text.split(/\r\n|\r|\n/).length" />