Problem/Motivation

Two semi-related issues:

1. The starter kit is missing the template for views--view-grid, which means the component will not be found / used.

2. The component for views--view-grid contains classes in the form col-N and row-N where N is the loop index. But this isn't how these classes work. The N is the number of columns of wide in a 12-column grid. See https://getbootstrap.com/docs/5.0/layout/columns/

Proposed resolution

Add the missing template and remove the incorrect classes.

Issue fork radix-3496120

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

danchadwick created an issue. See original summary.

deepali sardana’s picture

Assigned: Unassigned »

deepali sardana’s picture

Assigned: » Unassigned
Status: Active » Needs review

created mr please review it.

  • danchadwick committed 0492a1c7 on 6.0.x
    Issue #3496120 by danchadwick: views-view-grid component not found and...
danchadwick’s picture

Status: Needs review » Fixed

@deepali sardana: I appreciate the MR, but that's not the right fix. The row-N and col-N classes need to be removed.

The above commit:
- Removes the row-N and col-N classes,
- Adds a trailing comma, missing from the classes
- Fixes the vertical alignment by adding a wrapping row class
- Adds the missing template to the starter kit.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.