[Library | Trunk]: Navbar fix padding of logo on left position

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60891 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-04-16 15:08:11 +00:00
parent 7d33f465f9
commit 1fae3c0e67
1 changed files with 4 additions and 4 deletions

View File

@ -262,8 +262,8 @@
</div>
</div>
<ng-template #header_template let-mobile="mobile">
<a *ngIf="!header.url" [routerLink]="header.route"
class="uk-logo uk-padding-remove uk-navbar-item uk-text-center uk-text-bold">
<a *ngIf="!header.url" [routerLink]="header.route" [class.uk-padding-remove]="header.position !== 'left'"
class="uk-logo uk-navbar-item uk-text-center uk-text-bold">
<img *ngIf="(mobile && header.logoSmallUrl) || (!mobile && header.logoUrl)"
[src]="!mobile?header.logoUrl:header.logoSmallUrl"
[alt]="header.title"
@ -274,8 +274,8 @@
</div>
</ng-container>
</a>
<a *ngIf="header.url" [href]="header.url"
class="uk-logo uk-padding-remove uk-navbar-item uk-text-center uk-text-bold">
<a *ngIf="header.url" [href]="header.url" [class.uk-padding-remove]="header.position !== 'left'"
class="uk-logo uk-navbar-item uk-text-center uk-text-bold">
<img *ngIf="(mobile && header.logoSmallUrl) || (!mobile && header.logoUrl)"
[src]="!mobile?header.logoUrl:header.logoSmallUrl"
[alt]="header.title"