Skip to content

Commit

Permalink
Fix chart labels being invisible on mobile on light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
TraceLD committed Oct 11, 2024
1 parent b2bd5e8 commit a6b9cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/components/BenchmarkChart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
<Labels
format={labelFormatter}
placement={labelPlacement}
class="fill-gray-200 text-sm dark:fill-inverse sm:text-xs"
class={cn('fill-gray-200 text-sm dark:fill-inverse sm:text-xs', {
'fill-inverse': labelPlacement === 'outside'
})}
/>
</Svg>
</Chart>
Expand Down

0 comments on commit a6b9cbe

Please sign in to comment.