Skip to content

Commit

Permalink
Merge pull request #4191 from tncoskun/fix-tvl-and-fee-rate-overflow-…
Browse files Browse the repository at this point in the history
…when-zoom

fixed: tvl and fee rate charts overflows when zooming
  • Loading branch information
benwolski authored Oct 7, 2024
2 parents 73975d8 + 47f875c commit 2c25243
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/pages/platformAmbient/Chart/FeeRate/FeeRateChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ function FeeRateChart(props: FreeRateData) {
style={{
display: 'block',
gridColumnStart: 1,
gridColumnEnd: 4,
gridColumnEnd: 3,
gridRowStart: 1,
gridRowEnd: 3,
}}
Expand All @@ -440,7 +440,7 @@ function FeeRateChart(props: FreeRateData) {
style={{
display: 'block',
gridColumnStart: 1,
gridColumnEnd: 4,
gridColumnEnd: 3,
gridRowStart: 1,
gridRowEnd: 3,
}}
Expand Down Expand Up @@ -470,7 +470,8 @@ function FeeRateChart(props: FreeRateData) {
ref={d3Yaxis}
style={{
width: yAxisWidth,
gridColumn: 3,
gridColumnStart: 3,
gridColumnEnd: 4,
gridRowStart: 1,
gridRowEnd: 3,
}}
Expand Down
7 changes: 4 additions & 3 deletions src/pages/platformAmbient/Chart/Tvl/TvlChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function TvlChart(props: TvlData) {
style={{
display: 'block',
gridColumnStart: 1,
gridColumnEnd: 4,
gridColumnEnd: 3,
gridRowStart: 1,
gridRowEnd: 3,
}}
Expand All @@ -599,7 +599,7 @@ function TvlChart(props: TvlData) {
style={{
display: 'block',
gridColumnStart: 1,
gridColumnEnd: 4,
gridColumnEnd: 3,
gridRowStart: 1,
gridRowEnd: 3,
}}
Expand All @@ -625,7 +625,8 @@ function TvlChart(props: TvlData) {
ref={d3Yaxis}
style={{
width: yAxisWidth,
gridColumn: 3,
gridColumnStart: 3,
gridColumnEnd: 4,
gridRowStart: 1,
gridRowEnd: 3,
}}
Expand Down

0 comments on commit 2c25243

Please sign in to comment.