Skip to content
Snippets Groups Projects
Commit 9da11134 authored by Sascha Eggenberger's avatar Sascha Eggenberger
Browse files

Issue #3385497: Gin's horizontal dropdown menu appears behind CKEditor 5's sticky header

parent 4cadcb5d
Branches
Tags
1 merge request!299Issue #3385497: Gin's horizontal dropdown menu appears behind CKEditor 5's sticky header
Pipeline #18629 passed
......@@ -50,7 +50,8 @@
}
.ck.ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky {
top: var(--gin-sticky-offset);
z-index: 2;
top: calc(var(--gin-toolbar-y-offset) + var(--gin-sticky-offset)) !important;
}
.ck .ck-toolbar__separator {
......
......@@ -12,6 +12,10 @@
--gin-icon-size-toolbar: 16px;
--gin-scroll-offset: 200px;
}
:root .gin--edit-form {
--gin-sticky-offset: var(--gin-height-sticky);
}
}
@media (min-width: 61em) {
......
......@@ -67,7 +67,8 @@
}
&.ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky {
top: var(--gin-sticky-offset);
z-index: 2;
top: calc(var(--gin-toolbar-y-offset) + var(--gin-sticky-offset)) !important;
}
.ck-toolbar__separator {
......
......@@ -10,6 +10,10 @@
@include mq(large) {
--gin-icon-size-toolbar: 16px;
--gin-scroll-offset: 200px;
.gin--edit-form {
--gin-sticky-offset: var(--gin-height-sticky);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment