Skip to content

Commit e5ad3c7

Browse files
authored
Merge branch 'main' into issue-1283
2 parents 307d202 + b968f5f commit e5ad3c7

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

packages/repl/src/lib/Output/PaneWithPanel.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
123123
.panel-body {
124124
overflow: auto;
125+
max-height: calc(100% - var(--sk-pane-controls-height));
125126
}
126127
127128
.panel-heading {

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@
147147
<ul>
148148
<li><a href="/chat">Discord</a></li>
149149
<li><a href="https://bsky.app/profile/svelte.dev">Bluesky</a></li>
150-
<li><a href="https://github.com/sveltejs/svelte">GitHub</a></li>
150+
<li>
151+
<a href="https://github.com/sveltejs">GitHub</a>
152+
</li>
151153
</ul>
152154
</div>
153155
</div>

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
66
import { overlay_open, on_this_page_open } from '../stores';
77
import { search } from '../state/search.svelte';
88
import Icon from '../components/Icon.svelte';
9-
import { page } from '$app/stores';
9+
import { page } from '$app/state';
1010
import ThemeToggle from '../components/ThemeToggle.svelte';
1111
import MobileMenu from './MobileMenu.svelte';
1212
import type { NavigationLink } from '../types';
@@ -86,7 +86,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
8686
<Dropdown>
8787
<a
8888
href="/{link.slug}"
89-
aria-current={$page.url.pathname.startsWith(`/${link.slug}`) ? 'page' : undefined}
89+
aria-current={page.url.pathname.startsWith(`/${link.slug}`) ? 'page' : undefined}
9090
>
9191
{link.title}
9292

@@ -99,8 +99,8 @@ Top navigation bar for the application. It provides a slot for the left side, th
9999
<a
100100
class="secondary"
101101
href={section.path}
102-
aria-current={$page.url.pathname === section.path ||
103-
$page.url.pathname.startsWith(section.path!)
102+
aria-current={page.url.pathname === section.path ||
103+
page.url.pathname.startsWith(section.path!)
104104
? 'page'
105105
: undefined}
106106
>
@@ -113,7 +113,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
113113
{:else}
114114
<a
115115
href="/{link.slug}"
116-
aria-current={$page.url.pathname.startsWith(`/${link.slug}`) ? 'page' : null}
116+
aria-current={page.url.pathname.startsWith(`/${link.slug}`) ? 'page' : null}
117117
>
118118
{link.title}
119119
</a>
@@ -133,7 +133,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
133133
<span data-icon="bluesky"></span>
134134
</a>
135135

136-
<a href="https://github.com/sveltejs/svelte" aria-label="GitHub Repo">
136+
<a href="https://github.com/sveltejs" aria-label="GitHub Organization">
137137
<span data-icon="github"></span>
138138
</a>
139139
</div>
@@ -169,7 +169,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
169169
open = !open;
170170

171171
if (open) {
172-
const segment = $page.url.pathname.split('/')[1];
172+
const segment = page.url.pathname.split('/')[1];
173173
current = links.find((link) => link.slug === segment);
174174
}
175175
}}

0 commit comments

Comments
 (0)