Skip to content

Commit

Permalink
Merge pull request #534 from nblackburn/collapse-nav
Browse files Browse the repository at this point in the history
Collapse nav
  • Loading branch information
nblackburn committed Aug 1, 2024
2 parents 1895c1b + 7d29d63 commit 959f456
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nblackburn/website",
"private": true,
"version": "1.43.0",
"version": "1.44.0",
"type": "module",
"scripts": {
"start": "astro dev",
Expand Down
11 changes: 9 additions & 2 deletions src/components/header.css.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { style } from '@vanilla-extract/css';
import { vars, sizes, containers } from '@styles/theme.css';
import { vars, sizes, containers, breakpoints } from '@styles/theme.css';

export const header = style({
top: 0,
Expand All @@ -19,8 +19,15 @@ export const header = style({
export const container = style({
margin: 'auto',
display: 'flex',
rowGap: sizes.nano,
columnGap: sizes.nano,
padding: sizes.small,
alignItems: 'center',
justifyContent: 'space-between',
maxWidth: containers.xtraLarge
maxWidth: containers.xtraLarge,
'@media': {
[breakpoints.medium]: {
flexDirection: 'column'
}
}
});

1 comment on commit 959f456

@vercel
Copy link

@vercel vercel bot commented on 959f456 Aug 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.