From f398eb58e70eb6225c3e8efdc15f72c28f7998bb Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Mon, 14 Aug 2023 18:39:23 +0300 Subject: [PATCH 1/4] Update astro.config.mjs Fixes settings for AstroCompress as they were pascal cased in the later version. --- astro.config.mjs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 02f5715..e4ac4cb 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -64,15 +64,14 @@ export default defineConfig({ tasks(), compress({ - css: true, - html: { + CSS: true, + HTML: { removeAttributeQuotes: false, }, - img: false, - js: true, - svg: true, - - logger: 1, + Image: false, + JavaScript: true, + SVG: true, + Logger: 1, }), ], From c9017422787cbeb0a2739b5fa5340ea3e2d349e7 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Mon, 14 Aug 2023 18:40:47 +0300 Subject: [PATCH 2/4] Update astro.config.mjs --- astro.config.mjs | 3 --- 1 file changed, 3 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index e4ac4cb..a2a9af1 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -64,13 +64,10 @@ export default defineConfig({ tasks(), compress({ - CSS: true, HTML: { removeAttributeQuotes: false, }, Image: false, - JavaScript: true, - SVG: true, Logger: 1, }), ], From b7e0ae9d66479232cc510e5abf33abe3ff865ec4 Mon Sep 17 00:00:00 2001 From: prototypa Date: Mon, 14 Aug 2023 11:56:52 -0400 Subject: [PATCH 3/4] Add scroll margin offset --- src/components/ui/WidgetWrapper.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/WidgetWrapper.astro b/src/components/ui/WidgetWrapper.astro index a4cc5c5..b7bac38 100644 --- a/src/components/ui/WidgetWrapper.astro +++ b/src/components/ui/WidgetWrapper.astro @@ -7,7 +7,7 @@ const { id, isDark = false, containerClass = "", bg, as = "section" } = Astro.pr const WrapperTag = as; --- - +