Fix dropdown menu location (mobile menu).

This commit is contained in:
2022-09-09 03:28:23 +02:00
parent b300fe1b7b
commit 9c3547f712
2 changed files with 17 additions and 5 deletions
@@ -40,7 +40,6 @@ export class HeaderComponent implements OnInit {
toggleMobileDropdown(): void {
const dropdownContentStyle = document.getElementById('menu-mobile-dropdown-content')!.style;
if (dropdownContentStyle.display == 'block') {
//FIXME: Currently doesn't work because content overlaps button
dropdownContentStyle.display = 'none';
} else {
dropdownContentStyle.display = 'block';