Block links displaying inline in off-canvas list

Created on 29 March 2023, over 1 year ago
Updated 3 May 2023, over 1 year ago

Problem/Motivation

Block links are displayed inline in the off-canvas panel, causing each link to run together. CSS has a property of display:block, but this is getting overridden by styles injected by javascript.

Steps to reproduce

  • Add more than one Block to a category
  • Add Block in Layout Builder
  • See Block links in off-canvas list

Proposed resolution

Output the list of links in an unordered list, rather than just anchor tags. Within each Category, use the standard off-canvas link list html:

<ul class="links">
<li><a></a></li>
</ul>
πŸ› Bug report
Status

Needs work

Version

1.5

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024