From 974308f93903deaa18e4ae36ec92bad414b8b614 Mon Sep 17 00:00:00 2001 From: vignesh mohankumar Date: Wed, 5 Oct 2022 19:28:33 -0400 Subject: [PATCH] fix: center TimeButton in PriceChart horizontally (#4795) --- src/components/Tokens/TokenDetails/PriceChart.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Tokens/TokenDetails/PriceChart.tsx b/src/components/Tokens/TokenDetails/PriceChart.tsx index 4ed6da6593..3ac1bbc1b6 100644 --- a/src/components/Tokens/TokenDetails/PriceChart.tsx +++ b/src/components/Tokens/TokenDetails/PriceChart.tsx @@ -109,6 +109,7 @@ const TimeButton = styled.button<{ active: boolean }>` flex: 1; display: flex; align-items: center; + justify-content: center; background-color: ${({ theme, active }) => (active ? theme.backgroundInteractive : 'transparent')}; font-weight: 600; font-size: 16px;