Skip to content

Commit

Permalink
style: fix badge no wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
peufo committed Jan 7, 2025
1 parent 69c5333 commit 5f75fd3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/lib/algo/CardAlgo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<span>{algo.name}</span>
<span class="grow"></span>
<span
class="badge badge-lg gap-2"
class="badge badge-lg flex-nowrap gap-2"
use:tip={{ content: 'Execution time for 500 values' }}
>
{#if algo.execTime500 < 40}
Expand All @@ -38,7 +38,10 @@
{/if}
{algo.execTime500.toLocaleString()} ms
</span>
<span class="badge badge-lg" use:tip={{ content: getTip(500) }}>
<span
class="badge badge-lg flex-nowrap"
use:tip={{ content: getTip(500) }}
>
{algo.score500.toLocaleString()}
</span>
</h2>
Expand Down

0 comments on commit 5f75fd3

Please sign in to comment.