Skip to content

Commit ff98bcd

Browse files
Fix display on "collapsed" state
1 parent de358fb commit ff98bcd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,11 @@ Top navigation bar for the application. It provides a slot for the left side, th
311311
nav {
312312
top: unset;
313313
bottom: 0;
314-
padding-bottom: env(safe-area-inset-bottom);
315-
height: calc(var(--sk-nav-height) + env(safe-area-inset-bottom));
314+
315+
&.visible, &:focus-within {
316+
padding-bottom: env(safe-area-inset-bottom);
317+
height: calc(var(--sk-nav-height) + env(safe-area-inset-bottom));
318+
}
316319
}
317320
318321
.menu {

0 commit comments

Comments
 (0)