Skip to content

Commit e048fa7

Browse files
committed
901: center mobile navigation title and login button
901: Copilot rebase Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 901: More accessible header navigation
1 parent 3c570a8 commit e048fa7

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

js/src/components/ui/header/Header.tsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,19 @@ export default function Header() {
112112
withCloseButton={false}
113113
size="50%"
114114
title="Navigation"
115+
styles={{
116+
header: {
117+
justifyContent: "center",
118+
},
119+
title: {
120+
textAlign: "center",
121+
fontWeight: 700,
122+
fontSize: "var(--mantine-font-size-lg)",
123+
marginBottom: "var(--mantine-spacing-xs)",
124+
},
125+
}}
115126
>
116-
<Flex direction="column" align="center" gap="xs">
127+
<Flex direction="column" align="center" gap="xs" w="100%">
117128
{navButtons.map(({ to, label }) => (
118129
<Button
119130
component={Link}
@@ -127,7 +138,9 @@ export default function Header() {
127138
{label}
128139
</Button>
129140
))}
130-
{renderButton("w-full")}
141+
<Flex justify="center" w="100%" mt="xs">
142+
{renderButton("full-width")}
143+
</Flex>
131144
</Flex>
132145
</Drawer>
133146
</>

0 commit comments

Comments
 (0)