Issue #3432298 by kostyashupenko, smustgrave: Sticky table header is not sticky if --drupal-displace-offset-top is not defined
parent
a605d772b6
commit
f0dfe7d49a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue