From ab0be67d025957bbc930d3c9baace14d273b87ce Mon Sep 17 00:00:00 2001 From: Mark Teekman Date: Tue, 23 Nov 2021 16:12:41 +0100 Subject: [PATCH 1/5] Update Astro to 0.21.2 --- package.json | 2 +- src/layouts/DefaultLayout.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index eb2f356..3d2622a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "astro build" }, "devDependencies": { - "astro": "^0.20.12", + "astro": "^0.21.2", "stylelint": "^13.13.1", "stylelint-config-standard": "^22.0.0" } diff --git a/src/layouts/DefaultLayout.astro b/src/layouts/DefaultLayout.astro index 3db1c10..86627b0 100644 --- a/src/layouts/DefaultLayout.astro +++ b/src/layouts/DefaultLayout.astro @@ -21,7 +21,7 @@ let subtitle = 'Accessible Astro Starter' - + From 232e64e836f1508845da6b4965f18d8825cfb099 Mon Sep 17 00:00:00 2001 From: Mark Teekman Date: Tue, 23 Nov 2021 16:15:35 +0100 Subject: [PATCH 2/5] Manually add autoprefixer and postcss config https://docs.astro.build/migration/0.21.0/#autoprefixer --- package.json | 1 + postcss.config.cjs | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 postcss.config.cjs diff --git a/package.json b/package.json index 3d2622a..8e8f0b2 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "devDependencies": { "astro": "^0.21.2", + "autoprefixer": "^10.4.0", "stylelint": "^13.13.1", "stylelint-config-standard": "^22.0.0" } diff --git a/postcss.config.cjs b/postcss.config.cjs new file mode 100644 index 0000000..a47ef4f --- /dev/null +++ b/postcss.config.cjs @@ -0,0 +1,5 @@ +module.exports = { + plugins: { + autoprefixer: {}, + }, +}; From a5eab1fb53d6fa7561eadf9342727ca60a0e823e Mon Sep 17 00:00:00 2001 From: Mark Teekman Date: Tue, 23 Nov 2021 16:15:59 +0100 Subject: [PATCH 3/5] Temporarily set these style tags to global (Astro bug pending) --- src/components/Header.astro | 17 ++++++++--------- src/components/Navigation.astro | 8 ++++---- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 2f7f4f2..fba3e37 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -7,7 +7,7 @@ import SkipLinks from '../components/SkipLinks.astro'
-
+
Your Logo @@ -15,24 +15,23 @@ import SkipLinks from '../components/SkipLinks.astro'
- diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index a7f0a9b..1d0031d 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -53,20 +53,20 @@ -