Views Tables - Use usa-table--sticky-header

Created on 13 November 2024, 11 days ago

USWDS 3.8.0 introduced the CSS class 'usa-table--sticky-header'. views-view-table.html.twig adds the class 'sticky-enabled' if the sticky headers have been enabled for the table.

Add 'usa-table--sticky-header' class if sticky headers have been enabled for the view table.

Probably wise to still add 'sticky-enabled' for backward-compatibility with projects that use that class.

Feature request
Status

Active

Version

3.9

Component

Code

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