Skip to content

Commit 18c7515

Browse files
committed
constrain header width
1 parent 73358f1 commit 18c7515

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/site-kit/src/lib/nav/Nav.svelte

+2
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ Top navigation bar for the application. It provides a slot for the left side, th
162162
transition: 0.4s var(--quint-out);
163163
transition-property: transform, background;
164164
isolation: isolate;
165+
--nav-max-width: calc(var(--sk-line-max-width) + var(--sk-page-padding-side) + 64rem);
166+
padding: 0 calc(0.5 * (100vw - var(--nav-max-width)));
165167
}
166168
167169
nav::after {

0 commit comments

Comments
 (0)