From 9e4b3f12b5be0983a2c4a8ba3dc1882ca56f6af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Mon, 31 Jan 2022 14:24:59 +0300 Subject: [PATCH] fix menu responsive bug --- src/app/app.main.component.ts | 2 +- src/app/components/button/button.component.html | 2 +- src/app/components/crud/crud.component.html | 6 ++++-- src/app/components/list/list.component.html | 14 +++++++------- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/app/app.main.component.ts b/src/app/app.main.component.ts index ebbcb07..42e614d 100644 --- a/src/app/app.main.component.ts +++ b/src/app/app.main.component.ts @@ -158,7 +158,7 @@ export class AppMainComponent implements AfterViewInit, OnDestroy, OnInit { } isDesktop() { - return window.innerWidth > 1024; + return window.innerWidth > 992; } isMobile(){ diff --git a/src/app/components/button/button.component.html b/src/app/components/button/button.component.html index b5ea3fd..b716932 100644 --- a/src/app/components/button/button.component.html +++ b/src/app/components/button/button.component.html @@ -68,7 +68,7 @@ logo - PrimeNG + PrimeNG diff --git a/src/app/components/crud/crud.component.html b/src/app/components/crud/crud.component.html index 753dd18..1868904 100644 --- a/src/app/components/crud/crud.component.html +++ b/src/app/components/crud/crud.component.html @@ -71,8 +71,10 @@ {{product.inventoryStatus}} - - +
+ + +
diff --git a/src/app/components/list/list.component.html b/src/app/components/list/list.component.html index 1a8fcd0..82c0043 100644 --- a/src/app/components/list/list.component.html +++ b/src/app/components/list/list.component.html @@ -4,13 +4,13 @@
DataView
-
-
- -
-
- -
+
+ + + + + +