We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15944db + 038a857 commit c78510eCopy full SHA for c78510e
apps/svelte.dev/src/routes/packages/Category.svelte
@@ -19,13 +19,15 @@
19
</script>
20
21
<section class="category">
22
- <h2 bind:this={header}>
23
- {title}
24
- </h2>
+ <header>
+ <h2 bind:this={header}>
+ {title}
25
+ </h2>
26
- {#if description}
27
- <p>{@html description}</p>
28
- {/if}
+ {#if description}
+ <p>{@html description}</p>
29
+ {/if}
30
+ </header>
31
32
<div class="content">
33
{#each visiblePackages as pkg}
@@ -69,13 +71,16 @@
69
71
margin-bottom: 3rem;
70
72
}
73
- h2 {
- margin: 0 0 1rem 0;
74
- }
+ header {
75
+ margin: 0 0 2rem 0;
76
- h3 {
77
- font: var(--sk-font-ui-medium);
78
- font-size: 1.5rem;
+ h2 {
+ margin: 0 0 1rem 0;
79
+ }
80
+
81
+ p {
82
+ margin: 0;
83
84
85
86
.content {
0 commit comments