Skip to content

Commit c78510e

Browse files
committed
merge
2 parents 15944db + 038a857 commit c78510e

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

apps/svelte.dev/src/routes/packages/Category.svelte

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@
1919
</script>
2020

2121
<section class="category">
22-
<h2 bind:this={header}>
23-
{title}
24-
</h2>
22+
<header>
23+
<h2 bind:this={header}>
24+
{title}
25+
</h2>
2526

26-
{#if description}
27-
<p>{@html description}</p>
28-
{/if}
27+
{#if description}
28+
<p>{@html description}</p>
29+
{/if}
30+
</header>
2931

3032
<div class="content">
3133
{#each visiblePackages as pkg}
@@ -69,13 +71,16 @@
6971
margin-bottom: 3rem;
7072
}
7173
72-
h2 {
73-
margin: 0 0 1rem 0;
74-
}
74+
header {
75+
margin: 0 0 2rem 0;
7576
76-
h3 {
77-
font: var(--sk-font-ui-medium);
78-
font-size: 1.5rem;
77+
h2 {
78+
margin: 0 0 1rem 0;
79+
}
80+
81+
p {
82+
margin: 0;
83+
}
7984
}
8085
8186
.content {

0 commit comments

Comments
 (0)