WIP: Display: initial; on links in mega menu overriding set values

I have a mega menu template (assigned in the regular wp menu) using the regular nav, not the nestable one. Using mobile first breakpoint in case that makes a difference.

In there I loop over some categories and some posts contained in those categories. On mobile, I’ve set the post links to display none so it only shows a grid of the categories. On Desktop I’ve set the links to display block to show them.

Since the update to 1.8.1, bricks adds display: initial; to all the links inside a mega menu:
image

This rule overrides any value set in the Builder like so:

No biggie, I can just set my display styles via css, just not quite sure why we need a default display rule for the links.

Easiest way to reproduce is to create a mega menu, add some links and just set them to display none.

Hi Martin,
Thanks so much for your report!

I was able to reproduce the issue and added it to our bug tracker.

Best regards,
timmse