Skip to content

Commit

Permalink
try removing negative margin
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel committed Oct 9, 2024
1 parent c55e14b commit e53cc1c
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 @@ -56,7 +56,6 @@ const DailyTransaction = (blocks: DailyTransactionProps) => {
width="14"
height="14"
viewBox="0 0 14 14"
overflow="visible"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
Expand Down Expand Up @@ -91,6 +90,7 @@ const DailyTransaction = (blocks: DailyTransactionProps) => {
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 @@ -46,7 +46,6 @@ const GasSpentChart = (gasSpent: GasSpentProps) => {
width="14"
height="14"
viewBox="0 0 14 14"
overflow="visible"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
Expand Down Expand Up @@ -78,7 +77,7 @@ const GasSpentChart = (gasSpent: GasSpentProps) => {
<ResponsiveContainer width="100%" height={170}>
<LineChart
data={chartData}
margin={{ top: 10, left: -25, right: 0, bottom: 0 }}
margin={{ top: 10, left: 0, right: 0, bottom: 0 }}
>
<CartesianGrid
strokeDasharray="3 3"
Expand Down

0 comments on commit e53cc1c

Please sign in to comment.