From e3b9bf24341c329c08b284ccf6daa908c90a883e Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sat, 11 Jun 2022 14:55:25 +0200 Subject: [PATCH] Increase hight of confirm location, fix #877 --- UI/BigComponents/AddNewMarker.ts | 4 ++++ UI/NewPoint/ConfirmLocationOfPoint.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/UI/BigComponents/AddNewMarker.ts b/UI/BigComponents/AddNewMarker.ts index 479098bea..112cd3d9e 100644 --- a/UI/BigComponents/AddNewMarker.ts +++ b/UI/BigComponents/AddNewMarker.ts @@ -6,6 +6,10 @@ import FilteredLayer from "../../Models/FilteredLayer"; import {TagUtils} from "../../Logic/Tags/TagUtils"; import Svg from "../../Svg"; +/** + * The icon with the 'plus'-sign and the preset icons spinning + * + */ export default class AddNewMarker extends Combine { constructor(filteredLayers: UIEventSource) { diff --git a/UI/NewPoint/ConfirmLocationOfPoint.ts b/UI/NewPoint/ConfirmLocationOfPoint.ts index dea2bbb82..d2eb324f5 100644 --- a/UI/NewPoint/ConfirmLocationOfPoint.ts +++ b/UI/NewPoint/ConfirmLocationOfPoint.ts @@ -69,7 +69,7 @@ export default class ConfirmLocationOfPoint extends Combine { bounds: mapBounds }) preciseInput.installBounds(preset.boundsFactor ?? 0.25, true) - preciseInput.SetClass("h-40 rounded-xl overflow-hidden border border-gray").SetStyle("height: 12rem;") + preciseInput.SetClass("rounded-xl overflow-hidden border border-gray").SetStyle("height: 18rem; max-height: 50vh") if (preset.preciseInput.snapToLayers && preset.preciseInput.snapToLayers.length > 0) {