forked from MapComplete/MapComplete
Fix small styling issue
This commit is contained in:
parent
16573946cb
commit
50d7d098a3
2 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue