mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
fix(website): mobile menu causing issues with scroll anchoring
This commit is contained in:
parent
894ec1e3c1
commit
d23550d3ef
@ -56,6 +56,23 @@ header nav a.active {
|
||||
}
|
||||
|
||||
@media (max-width: 719px) {
|
||||
:root {
|
||||
--header-height: 35px;
|
||||
}
|
||||
|
||||
header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
min-height: var(--header-height);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
header + main {
|
||||
margin-top: var(--header-height);
|
||||
}
|
||||
|
||||
header .content-wrapper {
|
||||
display: block;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user