Skip to content

Commit

Permalink
fix: statistic labels too large in English
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Aug 18, 2023
1 parent 8e29f0b commit 3c0e81f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Sidebar/src/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@
<ul class="grid grid-cols-4 pt-2 w-full px-2 text-lg">
<li class="col-span-1 text-center">
<span class="text-ob-bright">{{ authorData.word_count }}</span>
<p class="text-base">{{ t('settings.words') }}</p>
<p class="text-xs">{{ t('settings.words') }}</p>
</li>
<li class="col-span-1 text-center">
<span class="text-ob-bright">
{{ authorData.post_list.length }}
</span>
<p class="text-base">{{ t('settings.articles') }}</p>
<p class="text-xs">{{ t('settings.articles') }}</p>
</li>
<li class="col-span-1 text-center">
<span class="text-ob-bright">{{ authorData.categories }}</span>
<p class="text-base">{{ t('settings.categories') }}</p>
<p class="text-xs">{{ t('settings.categories') }}</p>
</li>
<li class="col-span-1 text-center">
<span class="text-ob-bright">{{ authorData.tags }}</span>
<p class="text-base">{{ t('settings.tags') }}</p>
<p class="text-xs">{{ t('settings.tags') }}</p>
</li>
</ul>
</div>
Expand Down

0 comments on commit 3c0e81f

Please sign in to comment.