Skip to content

Commit 282d62b

Browse files
authored
Fix typo and grammar in 01-svelte-components.md (#10737)
1 parent 74474fe commit 282d62b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/docs/02-template-syntax/01-svelte-components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ To apply styles to a selector globally, use the `:global(...)` modifier.
321321

322322
If you want to make @keyframes that are accessible globally, you need to prepend your keyframe names with `-global-`.
323323

324-
The `-global-` part will be removed when compiled, and the keyframe then be referenced using just `my-animation-name` elsewhere in your code.
324+
The `-global-` part will be removed when compiled, and the keyframe will then be referenced using just `my-animation-name` elsewhere in your code.
325325

326326
```svelte
327327
<style>
@@ -333,9 +333,9 @@ The `-global-` part will be removed when compiled, and the keyframe then be refe
333333

334334
There should only be 1 top-level `<style>` tag per component.
335335

336-
However, it is possible to have `<style>` tag nested inside other elements or logic blocks.
336+
However, it is possible to have a `<style>` tag nested inside other elements or logic blocks.
337337

338-
In that case, the `<style>` tag will be inserted as-is into the DOM, no scoping or processing will be done on the `<style>` tag.
338+
In that case, the `<style>` tag will be inserted as-is into the DOM; no scoping or processing will be done on the `<style>` tag.
339339

340340
```svelte
341341
<div>

0 commit comments

Comments
 (0)