Skip to content

Commit

Permalink
constrain header width
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Sep 25, 2024
1 parent 73358f1 commit 18c7515
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/site-kit/src/lib/nav/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ Top navigation bar for the application. It provides a slot for the left side, th
transition: 0.4s var(--quint-out);
transition-property: transform, background;
isolation: isolate;
--nav-max-width: calc(var(--sk-line-max-width) + var(--sk-page-padding-side) + 64rem);
padding: 0 calc(0.5 * (100vw - var(--nav-max-width)));
}
nav::after {
Expand Down

0 comments on commit 18c7515

Please sign in to comment.