fix(content_header): z-index issues

This commit is contained in:
Elian Doran 2025-12-09 17:11:28 +02:00
parent cb31c25e6c
commit 111c44dadf
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View File

@ -11,6 +11,5 @@
.content-header-widget.floating { .content-header-widget.floating {
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 11;
background-color: var(--main-background-color, #fff) !important; background-color: var(--main-background-color, #fff) !important;
} }

View File

@ -1,14 +1,13 @@
.ribbon-container { .ribbon-container {
margin-bottom: 5px; margin-bottom: 5px;
position: relative; position: relative;
z-index: 8; z-index: 998;
} }
/* When content header is floating, ribbon sticks below it */ /* When content header is floating, ribbon sticks below it */
.scrolling-container:has(.content-header-widget.floating) .ribbon-container { .scrolling-container:has(.content-header-widget.floating) .ribbon-container {
position: sticky; position: sticky;
top: var(--content-header-height, 100px); top: var(--content-header-height, 100px);
z-index: 10;
} }
.ribbon-top-row { .ribbon-top-row {