Menu items that are not links do not have styles when menu is placed on sidebars

Summary

When you create a menu item you have the option to make a link not being a link. This is done by creating a menu item and adding route:<nolink>instead of a node or a URL.

When placing such a menu in a sidebar, the item is not rendered correctly (check attachment)

Steps to reproduce

  1. Create a menu
  2. Create a menu item that has route:<nolink> as link
  3. Place the menu in a sidebar

Possible fixes

The fix should be applied in blocks.scss and be compiled to blocks.css

Attachments

Screenshot_2021-02-26_at_12.00.41

Edited by Konstantinos Platis