Skip to content
Snippets Groups Projects
Commit 993a9fc8 authored by Tögl, Christina's avatar Tögl, Christina
Browse files

Fix top value position

parent b2610c01
Branches
No related tags found
1 merge request!12Add scrollbar to menu if necessary
Pipeline #14693 failed
......@@ -417,7 +417,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) {
if (this.isMenuOverflow && !menu.classList.contains('hidden')) {
// default value if menu is in sticky position
let topValue = 46.5;
let topValue = 45.5;
// if menu is not in sticky position the top value must be calculated
if (window.pageYOffset < 96) {
topValue = 142.5 - window.pageYOffset;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment