💄(header) better feedback integration

- small screens are now usable (not that great but better than before)
- spacing is more consistent between left and right
This commit is contained in:
Emmanuel Pelletier
2024-07-29 08:26:48 +02:00
parent a7739efb70
commit ed52123733

View File

@@ -25,9 +25,21 @@ export const Header = () => {
flexShrink: 0, flexShrink: 0,
})} })}
> >
<Stack direction="row" justify="space-between" align="center"> <div
className={css({
display: 'flex',
flexDirection: 'column',
rowGap: 1,
md: {
rowGap: 0,
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
},
})}
>
<header> <header>
<Stack gap={1} direction="row" align="center"> <Stack gap={2.25} direction="row" align="center">
<Text bold variant="h1" margin={false}> <Text bold variant="h1" margin={false}>
<Link <Link
onClick={(event) => { onClick={(event) => {
@@ -74,7 +86,7 @@ export const Header = () => {
<SettingsButton /> <SettingsButton />
</Stack> </Stack>
</nav> </nav>
</Stack> </div>
</div> </div>
) )
} }