Styling: more styling of the new point dialog

This commit is contained in:
Pieter Vander Vennet 2023-05-17 13:57:26 +02:00
parent 96ea3d3905
commit 9f83893a02
2 changed files with 8 additions and 5 deletions

View file

@ -94,7 +94,6 @@
</script>
<div class="w-full h-64">
<LocationInput {map} mapProperties={initialMapProperties}
value={preciseLocation}></LocationInput>
</div>

View file

@ -262,9 +262,13 @@
<Tr slot="message" t={Translations.t.general.cancel}/>
</SubtleButton>
{:else if !creating}
<NewPointLocationInput value={preciseCoordinate} snappedTo={snappedToObject} {state} {coordinate}
targetLayer={selectedPreset.layer}
snapToLayers={selectedPreset.preset.preciseInput.snapToLayers}/>
<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}
targetLayer={selectedPreset.layer}
snapToLayers={selectedPreset.preset.preciseInput.snapToLayers}/>
</div>
</div>
<div class="flex flex-wrap-reverse md:flex-nowrap">
<BackButton on:click={() => selectedPreset = undefined} clss="w-full">