Issue #3432298 by kostyashupenko, smustgrave: Sticky table header is not sticky if --drupal-displace-offset-top is not defined

merge-requests/7121/head
nod_ 2024-03-20 22:31:20 +01:00
parent a605d772b6
commit f0dfe7d49a
No known key found for this signature in database
GPG Key ID: 76624892606FA197
2 changed files with 2 additions and 2 deletions

View File

@ -134,5 +134,5 @@ tr.selected td {
.position-sticky thead { .position-sticky thead {
position: sticky; position: sticky;
z-index: 500; z-index: 500;
top: var(--drupal-displace-offset-top); top: var(--drupal-displace-offset-top, 0);
} }

View File

@ -120,5 +120,5 @@ tr.selected td {
.position-sticky thead { .position-sticky thead {
position: sticky; position: sticky;
z-index: 500; z-index: 500;
top: var(--drupal-displace-offset-top); top: var(--drupal-displace-offset-top, 0);
} }