Views table row styling lost

Created on 17 July 2024, 5 months ago

Problem/Motivation

Views tables have the ability to style the row class. This is useful if, like me, you want some tables to the same custom styling.
Civictheme has its own styling for views tables which currently ignores row attributes.

Steps to reproduce

Create a view. Set its format to 'Table'. Open the 'Settings' for the Table format and put in a value for 'Row class'.
Display the table with a Civictheme active: no decoration for the 'tr'. Swap to Olivero and retry: row class is there.

Proposed resolution

Patch 'table.inc' to make the row attributes available. Patch table.twig to add to the row.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

🇬🇧United Kingdom mwjansen Bristol

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

Comments & Activities

Production build 0.71.5 2024