forked from MapComplete/MapComplete
Styling: more styling of the new point dialog
This commit is contained in:
parent
96ea3d3905
commit
9f83893a02
2 changed files with 8 additions and 5 deletions
|
|
@ -94,7 +94,6 @@
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="w-full h-64">
|
|
||||||
<LocationInput {map} mapProperties={initialMapProperties}
|
<LocationInput {map} mapProperties={initialMapProperties}
|
||||||
value={preciseLocation}></LocationInput>
|
value={preciseLocation}></LocationInput>
|
||||||
</div>
|
|
||||||
|
|
|
||||||
|
|
@ -262,9 +262,13 @@
|
||||||
<Tr slot="message" t={Translations.t.general.cancel}/>
|
<Tr slot="message" t={Translations.t.general.cancel}/>
|
||||||
</SubtleButton>
|
</SubtleButton>
|
||||||
{:else if !creating}
|
{:else if !creating}
|
||||||
|
<div class="w-full p-1">
|
||||||
|
<div class="w-full h-96 max-h-screen rounded-xl overflow-hidden">
|
||||||
<NewPointLocationInput value={preciseCoordinate} snappedTo={snappedToObject} {state} {coordinate}
|
<NewPointLocationInput value={preciseCoordinate} snappedTo={snappedToObject} {state} {coordinate}
|
||||||
targetLayer={selectedPreset.layer}
|
targetLayer={selectedPreset.layer}
|
||||||
snapToLayers={selectedPreset.preset.preciseInput.snapToLayers}/>
|
snapToLayers={selectedPreset.preset.preciseInput.snapToLayers}/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="flex flex-wrap-reverse md:flex-nowrap">
|
<div class="flex flex-wrap-reverse md:flex-nowrap">
|
||||||
|
|
||||||
<BackButton on:click={() => selectedPreset = undefined} clss="w-full">
|
<BackButton on:click={() => selectedPreset = undefined} clss="w-full">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue