Skip to content

Commit e839956

Browse files
committed
Merge branch 'main' into fix-links
2 parents 8adb08a + d983184 commit e839956

File tree

6 files changed

+23
-10
lines changed

6 files changed

+23
-10
lines changed

apps/svelte.dev/content/docs/kit/98-reference/[email protected]

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ type Handle = (input: {
976976

977977
## HandleClientError
978978

979-
The client-side [`handleError`](https://svelte.dev/docs/kit/hooks#shared-hooks-handleError) hook runs when an unexpected error is thrown while navigating.
979+
The client-side [`handleError`](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError) hook runs when an unexpected error is thrown while navigating.
980980

981981
If an unexpected error is thrown during loading or the following render, this function will be called with the error and the event.
982982
Make sure that this function _never_ throws an error.
@@ -996,7 +996,7 @@ type HandleClientError = (input: {
996996

997997
## HandleFetch
998998

999-
The [`handleFetch`](https://svelte.dev/docs/kit/hooks#server-hooks-handleFetch) hook allows you to modify (or replace) a `fetch` request that happens inside a `load` function that runs on the server (or during pre-rendering)
999+
The [`handleFetch`](https://svelte.dev/docs/kit/hooks#Server-hooks-handleFetch) hook allows you to modify (or replace) a `fetch` request that happens inside a `load` function that runs on the server (or during pre-rendering)
10001000

10011001
<div class="ts-block">
10021002

@@ -1012,7 +1012,7 @@ type HandleFetch = (input: {
10121012

10131013
## HandleServerError
10141014

1015-
The server-side [`handleError`](https://svelte.dev/docs/kit/hooks#shared-hooks-handleError) hook runs when an unexpected error is thrown while responding to a request.
1015+
The server-side [`handleError`](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError) hook runs when an unexpected error is thrown while responding to a request.
10161016

10171017
If an unexpected error is thrown during loading or rendering, this function will be called with the error and the event.
10181018
Make sure that this function _never_ throws an error.

apps/svelte.dev/content/docs/kit/98-reference/50-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ params?: string;
555555

556556
</div>
557557

558-
a directory containing [parameter matchers](https://svelte.dev/docs/kit/advanced-routing#matching)
558+
a directory containing [parameter matchers](https://svelte.dev/docs/kit/advanced-routing#Matching)
559559

560560
</div>
561561
</div>

apps/svelte.dev/content/docs/kit/98-reference/54-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ interface PageState {}
213213

214214
## Platform
215215

216-
If your adapter provides [platform-specific context](https://svelte.dev/docs/kit/adapters#platform-specific-context) via `event.platform`, you can specify it here.
216+
If your adapter provides [platform-specific context](https://svelte.dev/docs/kit/adapters#Platform-specific-context) via `event.platform`, you can specify it here.
217217

218218
<div class="ts-block">
219219

apps/svelte.dev/scripts/sync-docs/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,5 +219,5 @@ if (parsed.values.watch) {
219219
});
220220
}
221221

222-
console.log(`\nwatching for changes in ${parsed.positionals.join(', ')}`);
222+
console.log(`\nwatching for changes in ${filtered.map((pkg) => pkg.name).join(', ')}`);
223223
}

packages/repl/src/lib/Output/console/Console.svelte

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@
3737
--warning-border: rgb(242, 232, 163);
3838
--json-tree-string-color: var(--shiki-token-string);
3939
--json-tree-font-family: var(--sk-font-family-mono);
40+
--json-tree-font-size: 1.2rem;
41+
--json-tree-li-line-height: 1.5;
4042
41-
:global(.dark) & {
43+
:root.dark & {
4244
--error-fg: rgb(235, 78, 109);
4345
--error-bg: rgb(71, 48, 54);
4446
--error-border: rgb(109, 65, 76);
@@ -59,5 +61,15 @@
5961
--json-tree-operator-color: #e8eaed;
6062
--json-tree-regex-color: #6cd1c7;
6163
}
64+
65+
:global {
66+
p,
67+
ol,
68+
ul {
69+
font: var(--json-tree-font-family);
70+
font-size: var(--json-tree-font-size);
71+
line-height: 1.5;
72+
}
73+
}
6274
}
6375
</style>

packages/repl/src/lib/Output/console/ConsoleLine.svelte

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
gap: 1rem;
203203
width: 100%;
204204
font-size: 1.2rem;
205-
align-items: center;
205+
align-items: start;
206206
}
207207
208208
.log.expandable {
@@ -221,6 +221,7 @@
221221
font-size: 1.2rem;
222222
margin: 0 1rem 0.4rem calc(1em + var(--indent));
223223
overflow: hidden;
224+
line-height: 1.5;
224225
225226
.location {
226227
position: relative;
@@ -271,11 +272,11 @@
271272
font-size: 0.9rem;
272273
transition: 150ms;
273274
transform-origin: 50% 50%;
274-
transform: translateY(-1px);
275+
transform: translateY(2px);
275276
}
276277
277278
.arrow.expand {
278-
transform: translateY(0px) rotateZ(90deg);
279+
transform: translateY(2px) rotateZ(90deg);
279280
}
280281
281282
.styled {

0 commit comments

Comments
 (0)