Fix details

This commit is contained in:
2024-02-24 01:35:43 +01:00
parent c21ddfe08a
commit 5e45962b40
4 changed files with 5 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ const CardUi = {
<h3>Total hours:</h3>
<p>{{ usePrecision(stats.coding.data.grand_total.total_seconds_including_other_language / 3600, 0) }} hours</p>
</div>
<div class="flex items-start gap-1">
<div class="flex items-start gap-1 flex-wrap">
<h3>Best Editors:</h3>
<p>
{{ stats.editors.data.slice(0, 2).map(editor => `${editor.name} (${editor.percent}%)`).join(', ') }}