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

Fix removing of attribute

parent 7ffa0de5
No related branches found
No related tags found
1 merge request!12Add scrollbar to menu if necessary
Pipeline #14703 failed
......@@ -421,7 +421,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) {
} else if (isMenuOverflow && menu.classList.contains('hidden')) {
document.body.removeAttribute('style', 'overflow:hidden;');
menu.setAttribute('style', 'position: fixed;top: ' + topValue + 'px;bottom: 0;border-bottom: 0;overflow-y: auto;');
menu.removeAttribute('style', 'position: fixed;top: ' + topValue + 'px;bottom: 0;border-bottom: 0;overflow-y: auto;');
}
const chevron = this.shadowRoot.querySelector("#menu-chevron-icon");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment