Fix small styling issue

This commit is contained in:
pietervdvn 2021-08-20 00:15:55 +02:00
parent 16573946cb
commit 50d7d098a3
2 changed files with 2 additions and 0 deletions

View file

@ -179,6 +179,7 @@ export default class GeoLocationHandler extends VariableUiElement {
} }
}) })
this._currentGPSLocation.addCallback((location) => { this._currentGPSLocation.addCallback((location) => {
self._previousLocationGrant.setData("granted"); self._previousLocationGrant.setData("granted");

View file

@ -41,6 +41,7 @@ export class TextField extends InputElement<string> {
el.placeholder = placeholder el.placeholder = placeholder
el.rows = options.textAreaRows el.rows = options.textAreaRows
el.cols = 50 el.cols = 50
el.style.width = "100%"
inputEl = el; inputEl = el;
} else { } else {
const el = document.createElement("input") const el = document.createElement("input")