fix: center TimeButton in PriceChart horizontally (#4795)

This commit is contained in:
vignesh mohankumar 2022-10-05 19:28:33 -04:00 committed by GitHub
parent 0ec738a48a
commit 974308f939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -109,6 +109,7 @@ const TimeButton = styled.button<{ active: boolean }>`
flex: 1; flex: 1;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
background-color: ${({ theme, active }) => (active ? theme.backgroundInteractive : 'transparent')}; background-color: ${({ theme, active }) => (active ? theme.backgroundInteractive : 'transparent')};
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;