Skip to content

Commit

Permalink
fix FAQ h1 spacing (#5204)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
nimatrengo authored Jun 21, 2022
1 parent 0f56d10 commit adfe94e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sites/kit.svelte.dev/src/routes/faq/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { Permalink } from '@sveltejs/site-kit';
import '$lib/docs/client/docs.css';
import '$lib/docs/client/shiki.css';
import '@sveltejs/site-kit/code.css';
import * as hovers from '$lib/docs/client/hovers.js';
export let sections;
Expand Down Expand Up @@ -79,8 +80,8 @@
}
h2 {
margin: -4rem 0 1rem 0;
padding-top: 10rem;
margin: 0rem 0 1rem 0;
padding-top: 6rem;
padding-bottom: 0.2rem;
color: var(--text);
/* max-width: 24em; */
Expand Down

0 comments on commit adfe94e

Please sign in to comment.