Skip to content

Commit adfe94e

Browse files
authored
fix FAQ h1 spacing (#5204)
* fix FAQ h1 spacing Texts were not selectable as the H1 had negative margin (Not a good practice) * Fix FAQ code block y adding @sveltejs/site-kit/code.css to FAQ page. * Fix FAQ code block y adding @sveltejs/site-kit/code.css to FAQ page.
1 parent 0f56d10 commit adfe94e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sites/kit.svelte.dev/src/routes/faq/index.svelte

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import { Permalink } from '@sveltejs/site-kit';
33
import '$lib/docs/client/docs.css';
44
import '$lib/docs/client/shiki.css';
5+
import '@sveltejs/site-kit/code.css';
56
import * as hovers from '$lib/docs/client/hovers.js';
67
78
export let sections;
@@ -79,8 +80,8 @@
7980
}
8081
8182
h2 {
82-
margin: -4rem 0 1rem 0;
83-
padding-top: 10rem;
83+
margin: 0rem 0 1rem 0;
84+
padding-top: 6rem;
8485
padding-bottom: 0.2rem;
8586
color: var(--text);
8687
/* max-width: 24em; */

0 commit comments

Comments
 (0)