forked from github/plane
Fix: Render bar chart axis labels in lighter color when dark theme applied (#2721)
This commit is contained in:
parent
621d551c4a
commit
da799b5a63
@ -114,6 +114,7 @@ export const AnalyticsGraph: React.FC<Props> = ({ analytics, barGraphData, param
|
|||||||
y={datum.y}
|
y={datum.y}
|
||||||
textAnchor="end"
|
textAnchor="end"
|
||||||
fontSize={10}
|
fontSize={10}
|
||||||
|
fill="rgb(var(--color-text-200))"
|
||||||
className={`${barGraphData.data.length > 7 ? "-rotate-45" : ""}`}
|
className={`${barGraphData.data.length > 7 ? "-rotate-45" : ""}`}
|
||||||
>
|
>
|
||||||
{generateDisplayName(datum.value, analytics, params, "x_axis")}
|
{generateDisplayName(datum.value, analytics, params, "x_axis")}
|
||||||
|
Loading…
Reference in New Issue
Block a user