"Custom row wrapper class" applied only to the first row

Created on 29 October 2024, 29 days ago

Problem/Motivation

In a view, set format to "Bootstrap Cards". Then in the Settings form set "Custom row wrapper class" to a custom value. This class is applied only to the first row.

Steps to reproduce

In a view, set format to "Bootstrap Cards". Then in the Settings form set "Custom row wrapper class" to a custom value. This class is applied only to the first row.

Proposed resolution

The problem is at the end of the views-bootstrap-cards.html.twig file which prints each row succeeding the first one as <div class="row"> instead of <div{{ row_attributes }}>.

If you have your own theme you can solve the issue by overriding this template file with the proposed correction.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

5.5

Component

Cards

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024