Skip to content

Commit 92bb2ea

Browse files
committed
Set min-width on problem counts
1 parent fd86598 commit 92bb2ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Playground.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,14 +1755,14 @@ let make = (~versions: array<string>) => {
17551755

17561756
<div className="inline-flex items-center gap-2">
17571757
{if problemCounts["errors"] > 0 {
1758-
<span className="text-fire bg-fire-100 px-0.5">
1758+
<span className="inline-block min-w-4 text-fire bg-fire-100 px-0.5">
17591759
{problemCounts["errors"]->React.int}
17601760
</span>
17611761
} else {
17621762
React.null
17631763
}}
17641764
{if problemCounts["warnings"] > 0 {
1765-
<span className="text-orange bg-orange-15 px-0.5">
1765+
<span className="inline-block min-w-4 text-orange bg-orange-15 px-0.5">
17661766
{problemCounts["warnings"]->React.int}
17671767
</span>
17681768
} else {

0 commit comments

Comments
 (0)