dropdown: Fix partial highlight of list-item on hover.

This commit is contained in:
Vector73 2024-07-19 17:45:35 +05:30 committed by Tim Abbott
parent 6bc03ad996
commit 2cf06f34a0
1 changed files with 1 additions and 0 deletions

View File

@ -805,6 +805,7 @@ function set_up_dropdown_widget(
if (setting_type === "group") { if (setting_type === "group") {
$(dropdown.popper).css("min-width", "300px"); $(dropdown.popper).css("min-width", "300px");
$(dropdown.popper).find(".simplebar-content").css("width", "max-content"); $(dropdown.popper).find(".simplebar-content").css("width", "max-content");
$(dropdown.popper).find(".simplebar-content").css("min-width", "100%");
} }
}, },
}); });