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 <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
Anton Tranelis 2025-07-16 20:57:21 +02:00 committed by GitHub
parent 1e7320b895
commit 7e0d44dac8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 1 deletions

View File

@ -1,6 +1,12 @@
name: build:lib
on: push
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
files-changed:

View File

@ -17,6 +17,14 @@ export function Welcome1({ clickAction1, map }: ChapterProps) {
{map.custom_text ? (
<>
<TextView rawText={map.custom_text}></TextView>
<div className='tw:grid'>
<label
className='tw:btn tw:btn-primary tw:place-self-end tw:mt-4'
onClick={() => clickAction1()}
>
Close
</label>
</div>
</>
) : (
<>