From e6b157914a8423496e30b93821e596eef522bb9f Mon Sep 17 00:00:00 2001 From: Konstantinos Triantafyllou Date: Fri, 27 Nov 2020 09:54:57 +0000 Subject: [PATCH] [Monitor Dashboard | Trunk]: Fix topics on admin git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59978 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/app.component.ts | 4 ++-- src/app/topic/topic.component.html | 27 ++++++++++++++++----------- src/assets/new.css | 9 ++++++++- 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index a9449cf..d329db3 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -113,11 +113,11 @@ export class AppComponent implements OnInit, OnDestroy { this.isViewPublic = (params['view'] == 'public'); }); this.layoutService.setOpen(false); + this.layoutService.setSmallScreen((this.innerWidth && this.innerWidth < 1219)); + this.layoutService.setOpen(!(this.innerWidth && this.innerWidth < 1219)); this.subscriptions.push(this.params.subscribe(params => { if (this.paramsResolved) { this.loading = true; - this.layoutService.setSmallScreen((this.innerWidth && this.innerWidth < 1219)); - this.layoutService.setOpen(!(this.innerWidth && this.innerWidth < 1219)); let isSearch = this.router.url.includes('search'); if (params && params['stakeholder']) { // this.stakeholder = this.stakeholderService.stakeholder; diff --git a/src/app/topic/topic.component.html b/src/app/topic/topic.component.html index 2bb3005..4084c77 100644 --- a/src/app/topic/topic.component.html +++ b/src/app/topic/topic.component.html @@ -18,15 +18,16 @@
- + - {{topic.name}} + {{topic.name}} - +