diff --git a/wled00/data/index.css b/wled00/data/index.css index e5b61e8c8..d42807069 100644 --- a/wled00/data/index.css +++ b/wled00/data/index.css @@ -1289,6 +1289,11 @@ TD .checkmark, TD .radiomark { margin-top: 0; } +#segcont.simple .lstI { + margin-top: 4px; + min-height: unset; +} + /* selected item/element */ .selected { /* has to be after .lstI since !important is not ok */ background: var(--c-4); @@ -1334,7 +1339,7 @@ TD .checkmark, TD .radiomark { overflow: scroll; /* Fix shadow */ margin: 0px -16px; - padding: 0px 16px; + padding: 0px 0px 0px 16px; } #pallist.simplified .lstI.selected { @@ -1433,7 +1438,7 @@ TD .checkmark, TD .radiomark { .expanded { display: inline-block !important; } -.hide, .expanded .segin.hide, .expanded .presin.hide, .expanded .sbs.hide, .expanded .frz, .expanded .g-icon, .nosimple { +.hide, .expanded .segin.hide, .expanded .presin.hide, .expanded .sbs.hide, .expanded .frz, .expanded .g-icon { display: none !important; } diff --git a/wled00/data/index.js b/wled00/data/index.js index 775a961e3..a63c51bb3 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -626,7 +626,7 @@ function parseInfo(i) { if (i.live) name = "(Live) " + name; if (loc) name = "(L) " + name; d.title = name; - simplifiedUI = i.simplifiedui; + simplifiedUI = i.simplifiedui | true; ledCount = i.leds.count; //syncTglRecv = i.str; maxSeg = i.leds.maxseg; @@ -752,6 +752,7 @@ function populateSegments(s) let rvXck = ``; let miXck = ``; let rvYck = "", miYck =""; + let smpl = simplifiedUI ? 'hide' : ''; if (isMSeg) { rvYck = ``; miYck = ``; @@ -771,22 +772,22 @@ function populateSegments(s) ``+ ``; cn += `