From 50d7d098a365ae366e5a347d368e8929d685e8c6 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 20 Aug 2021 00:15:55 +0200 Subject: [PATCH] Fix small styling issue --- Logic/Actors/GeoLocationHandler.ts | 1 + UI/Input/TextField.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/Logic/Actors/GeoLocationHandler.ts b/Logic/Actors/GeoLocationHandler.ts index 2433246dc2..ceb363d481 100644 --- a/Logic/Actors/GeoLocationHandler.ts +++ b/Logic/Actors/GeoLocationHandler.ts @@ -178,6 +178,7 @@ export default class GeoLocationHandler extends VariableUiElement { leafletMap.data?.dragging?.enable() } }) + this._currentGPSLocation.addCallback((location) => { self._previousLocationGrant.setData("granted"); diff --git a/UI/Input/TextField.ts b/UI/Input/TextField.ts index da30733236..f6960b60a6 100644 --- a/UI/Input/TextField.ts +++ b/UI/Input/TextField.ts @@ -41,6 +41,7 @@ export class TextField extends InputElement { el.placeholder = placeholder el.rows = options.textAreaRows el.cols = 50 + el.style.width = "100%" inputEl = el; } else { const el = document.createElement("input")