Skip to content

Commit a560db0

Browse files
committed
UI: Max pin dropdown with
1 parent ddd4c0d commit a560db0

File tree

2 files changed

+204
-203
lines changed

2 files changed

+204
-203
lines changed

wled00/data/settings_um.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
// WLEDMM make a dropdown for pin variables
121121
if (f.includes("pin")) {
122122
var n = this.name.replace("[]","").substr(-3);
123-
urows += `<select name="${k}:${f}${a?"[]":""}">`;
123+
urows += `<select name="${k}:${f}${a?"[]":""}" style="width:200px;max-width:90%;">`; //WLEDMM width capped. to be moved to css one day
124124
for (var j=-1; j<=50; j++) { // all possible pins WLEDMM: hardcoded to 50 as d.max_gpio is not calculated yet here (done in appendGPIOinfo)
125125
let foundPin = -1;
126126
for (var i=0; i<pins.length; i++) { // check if pin is reserved

0 commit comments

Comments
 (0)