From 242ac253afd5c7482467884079963fddfa14f4f0 Mon Sep 17 00:00:00 2001 From: Ryan Brewer Date: Mon, 21 Oct 2024 15:29:37 -0700 Subject: [PATCH] fix nav styling --- arctic_build/index.html | 2 +- dist/index.html | 2 +- .../_gleam_artefacts/arctic_framework_org.cache | Bin 618 -> 598 bytes .../arctic_framework_org.cache_meta | Bin 521 -> 489 bytes .../arctic_framework_org.mjs | 7 +------ src/arctic_framework_org.gleam | 10 +--------- 6 files changed, 4 insertions(+), 17 deletions(-) diff --git a/arctic_build/index.html b/arctic_build/index.html index cb484d5..6b2a9db 100644 --- a/arctic_build/index.html +++ b/arctic_build/index.html @@ -1,5 +1,5 @@ -Arctic

Arctic +Arctic

Arctic

An icy horizon in the Arctic.

Performance on Ice

Arctic is a friendly web framework for the Gleam programming language. diff --git a/dist/index.html b/dist/index.html index cb484d5..6b2a9db 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,5 +1,5 @@ -Arctic

Arctic +Arctic

Arctic

An icy horizon in the Arctic.

Performance on Ice

Arctic is a friendly web framework for the Gleam programming language. diff --git a/dist/priv/arctic_framework_org/_gleam_artefacts/arctic_framework_org.cache b/dist/priv/arctic_framework_org/_gleam_artefacts/arctic_framework_org.cache index 583fb4ef5eb1fb3e87f6425f1073400a6e26fab6..d13e8559e17abb7ffcd832afd1405e79f5bbef2d 100644 GIT binary patch delta 62 zcmaFGa*c&aVEIO-Tt)#aM-e8$N-f6 config.add_spa_frame(fn(body) { html.html([], [ head.head(), - html.body( - [ - attribute.attribute( - "onload", - "document.body.style.paddingTop = '' + document.getElementById('nav').clientHeight + 'px';", - ), - ], - [body], - ), + html.body([attribute.style([#("padding-top", "40pt")])], [body]), ]) }) build.build(cfg)