Where is the flag for tiger .table-striped class set?

Created on 5 March 2024, about 1 year ago

Problem/Motivation

I want to add striping to tables generated by this module, looking at the template there's a flag to apply bootstraps .table-striped class. I can't seem to find this under the format settings in views, or anywhere else where I'd think this flag would be set.

{%
  set classes = [
    'table',
    'cols-' ~ header|length,
    bordered ? 'table-bordered',
    condensed ? 'table-condensed',
    hover ? 'table-hover',
    striped ? 'table-striped',
    responsive ? 'responsive-enabled',
    sticky ? 'sticky-enabled',
  ]
%}

I can quickly do this manually with CSS using tr:nth-child(even) and tr:nth-child(odd), but it'd be nice to have it in config for a site that will have less technical site builders working on in the future. :)

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States erutan

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

Comments & Activities

Production build 0.71.5 2024