0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

fix(console): dashboard chart yaxios width (#1435)

This commit is contained in:
Wang Sijie 2022-07-07 11:03:36 +08:00 committed by GitHub
parent 8e28103d7a
commit b26fb0c0c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,13 @@ const Dashboard = () => {
fill="var(--color-hover-variant)"
/>
<XAxis dataKey="date" tickLine={false} tick={tickStyle} />
<YAxis orientation="right" axisLine={false} tickLine={false} tick={tickStyle} />
<YAxis
orientation="right"
width={30}
axisLine={false}
tickLine={false}
tick={tickStyle}
/>
<Tooltip content={<ChartTooltip />} cursor={{ stroke: 'var(--color-primary' }} />
</AreaChart>
</ResponsiveContainer>