mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: cystom analytics bar graph index alignment (#2737)
This commit is contained in:
parent
a6567bbce4
commit
96862e06ef
@ -112,7 +112,7 @@ export const AnalyticsGraph: React.FC<Props> = ({ analytics, barGraphData, param
|
||||
<text
|
||||
x={0}
|
||||
y={datum.y}
|
||||
textAnchor="end"
|
||||
textAnchor={`${barGraphData.data.length > 7 ? "end" : "middle"}`}
|
||||
fontSize={10}
|
||||
fill="rgb(var(--color-text-200))"
|
||||
className={`${barGraphData.data.length > 7 ? "-rotate-45" : ""}`}
|
||||
|
Loading…
Reference in New Issue
Block a user