Skip to content

Commit 5de34c7

Browse files
authored
fix inconsistency of CSS styles between initial and solved state in Part 3 / Forms / Progressive enhancement (#461)
* include entire css styles from unsolved code to solved code * slight nitpick; use em dash instead of hyphen for consistency
1 parent 0aa2f9e commit 5de34c7

File tree

2 files changed

+9
-1
lines changed
  • content/tutorial/03-sveltekit

2 files changed

+9
-1
lines changed

content/tutorial/03-sveltekit/03-loading-data/01-page-data/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ At its core, SvelteKit's job boils down to three things:
77

88
1. **Routing** — figure out which route matches an incoming request
99
2. **Loading** — get the data needed by the route
10-
3. **Rendering** - generate some HTML (on the server) or update the DOM (in the browser)
10+
3. **Rendering** generate some HTML (on the server) or update the DOM (in the browser)
1111

1212
We've seen how routing and rendering work. Let's talk about the middle part — loading.
1313

content/tutorial/03-sveltekit/06-forms/04-progressive-enhancement/app-b/src/routes/+page.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,12 @@
6666
opacity: 0.5;
6767
transition: opacity 0.2s;
6868
}
69+
70+
button:hover {
71+
opacity: 1;
72+
}
73+
74+
.saving {
75+
opacity: 0.5;
76+
}
6977
</style>

0 commit comments

Comments
 (0)