From 30fcd22a7b00cf8bef1e1c4aa2763e01c18cfecd Mon Sep 17 00:00:00 2001 From: sthag Date: Sun, 8 Mar 2026 18:54:44 +0100 Subject: [PATCH] fix: Intro - Move style inside .body_intro - Fix overlap of ids --- source/code/intro.js | 6 +- .../screens/demo/examples/game/intro.liquid | 5 +- source/style/ui.scss | 286 +++++++++--------- 3 files changed, 148 insertions(+), 149 deletions(-) diff --git a/source/code/intro.js b/source/code/intro.js index bff5a87..26be826 100644 --- a/source/code/intro.js +++ b/source/code/intro.js @@ -25,7 +25,7 @@ class UI { msgNo: 'No agreement today.' } }; - this.intro = document.getElementById('intro'); + this.intro = document.getElementById('init'); this.agreement = this.steps.agreement.element; this.hint = { element: document.getElementById('hint'), @@ -61,7 +61,7 @@ class UI { } else { reject('No intro available.'); } - }) + }); } showHint() { @@ -100,7 +100,7 @@ class UI { } else { reject(); } - }) + }); } init() { diff --git a/source/screens/demo/examples/game/intro.liquid b/source/screens/demo/examples/game/intro.liquid index 4e245b2..c223413 100644 --- a/source/screens/demo/examples/game/intro.liquid +++ b/source/screens/demo/examples/game/intro.liquid @@ -4,7 +4,6 @@ tags: - game --- -{% assign pageId = "init" %} {% assign bodyClass = 'body_intro' -%} {% layout 'hippie/app.liquid' %} @@ -20,7 +19,7 @@ tags:
0%
-
+