Skip to content

Commit

Permalink
Improve chart legibility in ES & FR
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprdhomme committed Aug 30, 2024
1 parent 884f03e commit 5ff78cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const HorizontalBarChart: FCWithMessages<HorizontalBarChartProps> = ({
left: `${targetPositionPercentage}%`,
}}
>
<span className="absolute right-0 top-5 whitespace-nowrap text-xs text-orange">
<span className="absolute left-0 top-5 whitespace-nowrap text-xs text-orange">
{t('30%-target')}
</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const StackedHorizontalBarChart: FCWithMessages<StackedHorizontalBarChartProps>
))}
{showTarget && (
<span className="absolute top-0 bottom-0 left-[30%] w-1 border-x border-white bg-orange">
<span className="absolute right-0 top-5 whitespace-nowrap text-xs text-orange">
<span className="absolute left-0 top-5 whitespace-nowrap text-xs text-orange">
{t('30%-target')}
</span>
</span>
Expand Down

0 comments on commit 5ff78cb

Please sign in to comment.