Commit 965a745d authored by lynn's avatar lynn Committed by GitHub

fix: token details chart x axis and time selector style tweaks (#5613)

init
parent 6d97590c
...@@ -310,7 +310,13 @@ function PriceChart({ width, height, prices, timePeriod }: PriceChartProps) { ...@@ -310,7 +310,13 @@ function PriceChart({ width, height, prices, timePeriod }: PriceChartProps) {
/> />
</g> </g>
) : ( ) : (
<AxisBottom scale={timeScale} stroke={theme.backgroundOutline} top={graphHeight - 1} hideTicks /> <AxisBottom
hideAxisLine={true}
scale={timeScale}
stroke={theme.backgroundOutline}
top={graphHeight - 1}
hideTicks
/>
)} )}
{!width && ( {!width && (
// Ensures an axis is drawn even if the width is not yet initialized. // Ensures an axis is drawn even if the width is not yet initialized.
......
...@@ -62,7 +62,6 @@ const LoadingChartContainer = styled.div` ...@@ -62,7 +62,6 @@ const LoadingChartContainer = styled.div`
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: flex-end; align-items: flex-end;
border-bottom: 1px solid ${({ theme }) => theme.backgroundOutline};
height: 100%; height: 100%;
margin-bottom: 44px; margin-bottom: 44px;
padding-bottom: 66px; padding-bottom: 66px;
......
...@@ -15,7 +15,6 @@ const TimeOptionsContainer = styled.div` ...@@ -15,7 +15,6 @@ const TimeOptionsContainer = styled.div`
justify-content: flex-end; justify-content: flex-end;
margin-top: 4px; margin-top: 4px;
gap: 4px; gap: 4px;
border: 1px solid ${({ theme }) => theme.backgroundOutline};
border-radius: 16px; border-radius: 16px;
height: 40px; height: 40px;
padding: 4px; padding: 4px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment