From 029403ea10ae38ca54ca310d04fbbda525a9938e Mon Sep 17 00:00:00 2001 From: Woody Date: Tue, 14 Nov 2023 21:52:17 +0100 Subject: [PATCH] Only Effect Search should stay on top --- wled00/data/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wled00/data/index.js b/wled00/data/index.js index 62f7d18d6..10e884ca4 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3046,11 +3046,13 @@ function simplifyUI() { // Chage height of palette list gId("pallist").style.height = "300px"; gId("pallist").style.overflow = "scroll"; - // fix shadow + // Fix shadow gId("pallist").style.margin = "0px -16px"; gId("pallist").style.padding = "0px 16px"; - // set correct position of selected and sticky palette + // Set correct position of selected and sticky palette gId("pallist").classList.add("simplified"); + // We only want Effect Search to stay on top + gId("palw").firstElementChild.classList.remove("staytop"); // Hide filter options gId("filters").style.display = "none";