From 42c8d4b19c6d8fbd4e7289b56956c0f331a3fdc9 Mon Sep 17 00:00:00 2001 From: Kristian Date: Fri, 27 Nov 2026 14:25:59 +0100 Subject: [PATCH 1/3] fix mock location notice --- apps/frontend/src/components/MockLocationNotice.tsx | 2 +- apps/frontend/src/styles.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/frontend/src/components/MockLocationNotice.tsx b/apps/frontend/src/components/MockLocationNotice.tsx index 7075873..771ee87 100644 --- a/apps/frontend/src/components/MockLocationNotice.tsx +++ b/apps/frontend/src/components/MockLocationNotice.tsx @@ -31,7 +31,7 @@ export default function MockLocationNotice() { href={'https://gspotter.graesberg.com'} target="_blank" rel="norefferer" - > + >{' '} public Azure deployment {' '} and run the website on localhost. diff --git a/apps/frontend/src/styles.css b/apps/frontend/src/styles.css index 8cf19f1..d8786d4 100644 --- a/apps/frontend/src/styles.css +++ b/apps/frontend/src/styles.css @@ -340,7 +340,8 @@ pre code { .demo-alert { border: 1px solid rgba(193, 126, 42, 0.3); border-radius: 1rem; - background: rgba(193, 126, 42, 0.1); + /* background: rgba(193, 126, 42, 0.8); */ + background: rgba(193, 126, 42, 0.9); color: var(--sea-ink); padding: 1rem; } @@ -349,7 +350,7 @@ pre code { mock position. The flag is set by an inline script before the first paint, so the notice never appears late and shifts the page. */ .mock-location-notice { - display: none; + display: block; } html[data-mock-location] .mock-location-notice { From 19499aa5be9c6405864b7aee6f02e3e39c581ea1 Mon Sep 17 00:00:00 2001 From: Kristian Date: Fri, 27 Nov 2026 14:27:38 +0100 Subject: [PATCH 2/3] minor fix --- apps/frontend/src/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/styles.css b/apps/frontend/src/styles.css index d8786d4..1854b15 100644 --- a/apps/frontend/src/styles.css +++ b/apps/frontend/src/styles.css @@ -350,7 +350,7 @@ pre code { mock position. The flag is set by an inline script before the first paint, so the notice never appears late and shifts the page. */ .mock-location-notice { - display: block; + display: none; } html[data-mock-location] .mock-location-notice { From c58838e989f5ea0e5ecc3c53f976507a164e3842 Mon Sep 17 00:00:00 2001 From: Kristian Date: Fri, 27 Nov 2026 14:30:06 +0100 Subject: [PATCH 3/3] format --- apps/frontend/src/components/MockLocationNotice.tsx | 3 ++- apps/frontend/src/styles.css | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/components/MockLocationNotice.tsx b/apps/frontend/src/components/MockLocationNotice.tsx index 771ee87..2a7253e 100644 --- a/apps/frontend/src/components/MockLocationNotice.tsx +++ b/apps/frontend/src/components/MockLocationNotice.tsx @@ -31,7 +31,8 @@ export default function MockLocationNotice() { href={'https://gspotter.graesberg.com'} target="_blank" rel="norefferer" - >{' '} + > + {' '} public Azure deployment {' '} and run the website on localhost. diff --git a/apps/frontend/src/styles.css b/apps/frontend/src/styles.css index 1854b15..e34097d 100644 --- a/apps/frontend/src/styles.css +++ b/apps/frontend/src/styles.css @@ -340,7 +340,6 @@ pre code { .demo-alert { border: 1px solid rgba(193, 126, 42, 0.3); border-radius: 1rem; - /* background: rgba(193, 126, 42, 0.8); */ background: rgba(193, 126, 42, 0.9); color: var(--sea-ink); padding: 1rem;