Fix positioning of toggle buttons

This commit is contained in:
Jackson Harper 2023-08-29 16:25:28 +08:00
parent 9f0a5dfd03
commit 9b181633d9

View file

@ -280,7 +280,7 @@ function MenuPanel(props: MenuPanelProps): JSX.Element {
alignment="start"
distribution="start"
>
<HStack css={{ width: '100%' }} distribution="start" alignment="start">
<HStack css={{ width: '100%' }} distribution="start" alignment="center">
<StyledText
css={{
fontFamily: 'Inter',
@ -297,10 +297,10 @@ function MenuPanel(props: MenuPanelProps): JSX.Element {
</StyledText>
<SpanBox
css={{
mt: '17px',
mr: '-2px',
marginLeft: 'auto',
display: 'flex',
height: '100%',
mt: '10px',
marginLeft: 'auto',
verticalAlign: 'middle',
}}
>