Skip to content

Commit

Permalink
style: mobile header breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtiti committed Aug 14, 2024
1 parent 985db48 commit a4feb9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/containers/Header/MobileHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const MobileHeader = ({ theme, goToHome, handleChangeLanguage, localesMap
{theme === 'dark' ? <Image src={MenuDark} alt='menu-icon' /> : <Image src={MenuLight} alt='menu-icon' />}
</SIconButton>
</IconsContainer>

<Menu
open={drawerOpen}
onClose={toggleDrawer(false)}
Expand All @@ -69,17 +70,20 @@ export const MobileHeader = ({ theme, goToHome, handleChangeLanguage, localesMap
<Image src={theme === 'dark' ? CloseDark : CloseLight} alt='close icon' />
</SIconButton>
</DrawerHeader>

<MenuList>
<MenuListItem>
<Gas />
</MenuListItem>

<MenuListItem>
<BasicSelect
value={t(`LOCALES.${language}`)}
setValue={handleChangeLanguage}
list={Object.values(localesMap)}
/>
</MenuListItem>

<MenuListItem>
<ThemeButton onClick={changeTheme}>
{theme === 'dark' ? t('HEADER.lightMode') : t('HEADER.darkMode')}
Expand Down

0 comments on commit a4feb9b

Please sign in to comment.