update table, menu, topbar, dialog, toast components and css

This commit is contained in:
Çetin
2021-12-14 16:31:40 +03:00
parent 2b91b042d5
commit 9c710d6fa3
26 changed files with 302 additions and 212 deletions

View File

@@ -99,6 +99,7 @@ export class AppMainComponent implements AfterViewInit, OnDestroy, OnInit {
}
else {
this.menuActiveMobile = !this.menuActiveMobile;
this.topMenuActive = false;
}
event.preventDefault();
@@ -127,7 +128,7 @@ export class AppMainComponent implements AfterViewInit, OnDestroy, OnInit {
setTimeout(() => {
this.topMenuActive = false;
this.topMenuLeaving = false;
}, 500);
}, 1);
}
onMenuClick() {
@@ -155,6 +156,10 @@ export class AppMainComponent implements AfterViewInit, OnDestroy, OnInit {
return window.innerWidth > 1024;
}
isMobile(){
return window.innerWidth < 1024;
}
onSearchClick() {
this.topMenuButtonClick = true;
}