Style fixes

This commit is contained in:
Adina Țeudan 2021-10-07 16:47:28 +03:00
parent d76be025bf
commit 194618d88d
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
:host {
height: calc(100vh - 61px);
&.dossier-templates {
height: calc(100vh - 111px);
}
}

View File

@ -1,4 +1,4 @@
import { Component, Input } from '@angular/core';
import { Component, HostBinding, Input } from '@angular/core';
import { UserPreferenceService } from '@services/user-preference.service';
import { AppStateService } from '@state/app-state.service';
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
@ -69,4 +69,8 @@ export class AdminSideNavComponent {
private readonly _appStateService: AppStateService,
readonly userPreferenceService: UserPreferenceService,
) {}
@HostBinding('class.dossier-templates') get isDossierTemplates(): boolean {
return this.type === 'dossierTemplates';
}
}

@ -1 +1 @@
Subproject commit c715f73fd3e0b4a70efb60995929877eaa2e8d11
Subproject commit adf27211ddb6547dea0b2c570d1681cb00e84cdf