fix sticky header with browser control warning (#6997)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
Christian Günter 2024-08-06 10:54:49 +02:00 committed by GitHub
parent 0d6d999e62
commit 1e0ff12c60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1564,6 +1564,12 @@ table.unit_tests {
padding-top: 50px; padding-top: 50px;
} }
/* Give more padding if browser control warning is present */
.sticky:has(.browser-control-warning) + .not_sticky,
.sticky_full_width:has(.browser-control-warning) + .not_sticky {
padding-top: 75px;
}
.sticky_full_width + .not_sticky { .sticky_full_width + .not_sticky {
padding-top: 50px; padding-top: 50px;
} }