DUPLICATE: Empty choices on the checkbox filter still has the <li> on it

Browser: Brave
OS: Windows / Linux /
URL: Link to a page that illustrates this issue

Hello :wave:

The filtering is working really well for my use case, is really fast! Congrats.

But, I noticed that when I uncheck “hide empty choices”, the “li” of the empty choice is still present, while the label is the one being hidden. This creates the issue that if I want to add a an even spacing between the “li” elements using gap in the parent “ul”, this empty “li” creates a double gap between those elements that have an empty choice in between, the same happens if I use margin on the “li” element, it would be much better to display:none the “li” itself.

Maybe something like this?

li:has(.brx-option-empty) {
display: none;
}

instead of just this?

image

This is the empty “li”

image

What do you think?

Love! :green_heart:

1 Like

Hi Aaron,
Thanks so much for your report.

This request has already been made:

I’ll close this thread accordingly.

Best regards,
timmse

2 Likes