Skip to content

Commit

Permalink
adjust negative margin
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel committed Oct 9, 2024
1 parent e53cc1c commit 0202631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,12 @@ const DailyTransaction = (blocks: DailyTransactionProps) => {
<ResponsiveContainer width="100%" height={160}>
<LineChart
data={chartDataArray}
margin={{ top: 10, right: 0, left: -20, bottom: 0 }}
margin={{ top: 10, right: 0, left: -15, bottom: 0 }}
>
<CartesianGrid
strokeDasharray="3 3"
stroke="#333"
vertical={false}
overflow="visible"
/>
<XAxis
dataKey="time"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const GasSpentChart = (gasSpent: GasSpentProps) => {
<ResponsiveContainer width="100%" height={170}>
<LineChart
data={chartData}
margin={{ top: 10, left: 0, right: 0, bottom: 0 }}
margin={{ top: 10, left: -20, right: 0, bottom: 0 }}
>
<CartesianGrid
strokeDasharray="3 3"
Expand Down

0 comments on commit 0202631

Please sign in to comment.