From 7e0d44dac801a38252bc47d906bdb638f29e0acc Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Wed, 16 Jul 2025 20:57:21 +0200 Subject: [PATCH] fix(app): add close button to custom info modal (#275) * add close button to custom info modal * update workflow * fixes workflow --------- Co-authored-by: Ulf Gebhardt --- .github/workflows/test.build.lib.yml | 8 +++++++- app/src/ModalContent.tsx | 8 ++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.build.lib.yml b/.github/workflows/test.build.lib.yml index 99b3cd50..f47d03b2 100644 --- a/.github/workflows/test.build.lib.yml +++ b/.github/workflows/test.build.lib.yml @@ -1,6 +1,12 @@ name: build:lib -on: push +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: files-changed: diff --git a/app/src/ModalContent.tsx b/app/src/ModalContent.tsx index 61ba2a6e..65e849dc 100644 --- a/app/src/ModalContent.tsx +++ b/app/src/ModalContent.tsx @@ -17,6 +17,14 @@ export function Welcome1({ clickAction1, map }: ChapterProps) { {map.custom_text ? ( <> +
+ +
) : ( <>