Skip to content

Commit c55e14b

Browse files
committed
add overflow: visible to charts
1 parent e319d2f commit c55e14b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/app-explorer/src/systems/Home/components/DailyTransaction.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const DailyTransaction = (blocks: DailyTransactionProps) => {
5656
width="14"
5757
height="14"
5858
viewBox="0 0 14 14"
59+
overflow="visible"
5960
fill="none"
6061
xmlns="http://www.w3.org/2000/svg"
6162
>

packages/app-explorer/src/systems/Home/components/GasSpentChart/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const GasSpentChart = (gasSpent: GasSpentProps) => {
4646
width="14"
4747
height="14"
4848
viewBox="0 0 14 14"
49+
overflow="visible"
4950
fill="none"
5051
xmlns="http://www.w3.org/2000/svg"
5152
>

packages/ui/src/components/Charts/Charts.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const ChartContainer = React.forwardRef<
5252
data-chart={chartId}
5353
ref={ref}
5454
className={cx(
55-
"flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none [&_.recharts-surface]:overflow-visible",
55+
"flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
5656
className,
5757
)}
5858
{...props}

0 commit comments

Comments
 (0)