Skip to content

Commit

Permalink
Adjust padding in statistic headers (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriidudar authored Nov 27, 2024
1 parent d117259 commit 1a923c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const HeaderStatistic: React.FC<HeaderStatisticProps> = ({ statistic }) => {
return (
<span className="comet-body-s truncate text-foreground ">
<span>{statistic.type.toLowerCase()}</span>
<span className="ml-0.5 font-semibold">
<span className="ml-1 font-semibold">
{String(round(statistic.value, ROUND_PRECISION))}
</span>
</span>
Expand All @@ -55,7 +55,7 @@ const HeaderStatistic: React.FC<HeaderStatisticProps> = ({ statistic }) => {
<div className="flex max-w-full">
<span className="comet-body-s truncate text-foreground ">
<span>{value}</span>
<span className="ml-0.5 font-semibold">
<span className="ml-1 font-semibold">
{String(
round(get(statistic.value, value, 0), ROUND_PRECISION),
)}
Expand Down

0 comments on commit 1a923c7

Please sign in to comment.