fix: center TimeButton in PriceChart horizontally (#4795)
This commit is contained in:
parent
0ec738a48a
commit
974308f939
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user