Skip to content

Commit 15b6a45

Browse files
Remove fixed header
1 parent 49bb73f commit 15b6a45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/website/component.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn page(name: String, sections: List(Section(a))) -> Element(a) {
4444
html.body([attribute.class("min-h-screen bg-slate-800 text-white")], [
4545
header.view(),
4646
html.main(
47-
[attribute.class("py-24")],
47+
[attribute.class("py-2")],
4848
list.flat_map(sections, fn(section) { section.content }),
4949
),
5050
footer.view(),

src/website/component/header.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import lustre/element/html
44
import lustre/element/svg
55

66
pub fn view() -> Element(a) {
7-
html.header([attribute.class("bg-purple-700 flex w-full select-none fixed")], [
7+
html.header([attribute.class("bg-purple-700 flex w-full select-none")], [
88
html.nav(
99
[
1010
attribute.class(

0 commit comments

Comments
 (0)