forked from MapComplete/MapComplete
UX: fix #1445
This commit is contained in:
parent
bbc7698b12
commit
44b919fec0
3 changed files with 45 additions and 49 deletions
|
@ -207,7 +207,7 @@
|
|||
|
||||
{:else if !confirmedCategory }
|
||||
<!-- Second, confirm the category -->
|
||||
<h2>
|
||||
<h2 class="mr-12">
|
||||
<Tr t={Translations.t.general.add.confirmTitle.Subs({title: selectedPreset.preset.title})}/>
|
||||
</h2>
|
||||
|
||||
|
@ -253,7 +253,7 @@
|
|||
</div>
|
||||
|
||||
{:else if _globalFilter?.length > 0 && _globalFilter?.length > checkedOfGlobalFilters}
|
||||
<Tr t={_globalFilter[checkedOfGlobalFilters].onNewPoint?.safetyCheck}/>
|
||||
<Tr t={_globalFilter[checkedOfGlobalFilters].onNewPoint?.safetyCheck} cls="mx-12"/>
|
||||
<SubtleButton on:click={() => {checkedOfGlobalFilters = checkedOfGlobalFilters + 1}}>
|
||||
<img slot="image" src={_globalFilter[checkedOfGlobalFilters].onNewPoint?.icon ?? "./assets/svg/confirm.svg"}
|
||||
class="w-12 h-12">
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
</script>
|
||||
|
||||
<div class="flex flex-col w-full">
|
||||
<h2>
|
||||
<h2 class="mr-12"> <!-- The title gets a big right margin to give place to the 'close'-button, see https://github.com/pietervdvn/MapComplete/issues/1445 -->
|
||||
<Tr t={Translations.t.general.add.intro}/>
|
||||
</h2>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue