| @@ -148,16 +148,19 @@ body { | |||||
| .options-row .options-field-numeric { | .options-row .options-field-numeric { | ||||
| flex: 2; | flex: 2; | ||||
| width: 100%; | |||||
| font-size: 150%; | font-size: 150%; | ||||
| } | } | ||||
| .options-row .options-field-text { | .options-row .options-field-text { | ||||
| flex: 1; | flex: 1; | ||||
| width: 100%; | |||||
| font-size: 150%; | font-size: 150%; | ||||
| } | } | ||||
| .options-row .options-field-unit { | .options-row .options-field-unit { | ||||
| flex: 1; | flex: 1; | ||||
| width: 100%; | |||||
| font-size: 150%; | font-size: 150%; | ||||
| } | } | ||||
| @@ -403,6 +403,8 @@ function configViewOptions(entity, view) { | |||||
| const input = document.createElement("input"); | const input = document.createElement("input"); | ||||
| input.classList.add("options-field-numeric"); | input.classList.add("options-field-numeric"); | ||||
| input.id = "options-view-" + key + "-input"; | input.id = "options-view-" + key + "-input"; | ||||
| input.setAttribute("type", "number"); | |||||
| input.setAttribute("min", 1); | |||||
| input.value = entity.views[view][key].value; | input.value = entity.views[view][key].value; | ||||