I encountered a situation where I have a compact box displaying a dropdown menu. While navigating through different options in the dropdown, a green box appears with the message "Press enter to select," obscuring the content underneath.
How can I adjust it so that the hidden content becomes visible? Here is a screenshot for reference: https://i.sstatic.net/ewbM5.png
I identified the CSS class responsible for this behavior:
multiselect__option multiselect__option--highlight
These are its CSS properties. Is there a way to modify them to make it transparent? I attempted changing the green color to a light yellow or pale shade, but it did not yield the desired result.
.multiselect__option--highlight {
background: #41b883;
outline: none;
color: #fff;
}
Update: Following the guidance provided below, here is how the revised version looks like,