Skip to content

Commit

Permalink
💄(header) better feedback integration
Browse files Browse the repository at this point in the history
- small screens are now usable (not that great but better than before)
- spacing is more consistent between left and right
  • Loading branch information
manuhabitela committed Jul 29, 2024
1 parent a7739ef commit ed52123
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions src/frontend/src/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,21 @@ export const Header = () => {
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>
<Stack gap={1} direction="row" align="center">
<Stack gap={2.25} direction="row" align="center">
<Text bold variant="h1" margin={false}>
<Link
onClick={(event) => {
Expand Down Expand Up @@ -74,7 +86,7 @@ export const Header = () => {
<SettingsButton />
</Stack>
</nav>
</Stack>
</div>
</div>
)
}

0 comments on commit ed52123

Please sign in to comment.