mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
fix(content_header): z-index issues
This commit is contained in:
parent
cb31c25e6c
commit
111c44dadf
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user