[angular-18]: Change icon ration in browse-stakeholders to 0.8 for all screens.

This commit is contained in:
Konstantinos Triantafyllou 2024-11-07 12:48:47 +02:00
parent 76819e80d1
commit 9ce904558e
2 changed files with 17 additions and 21 deletions

View File

@ -307,11 +307,7 @@ export class AppComponent extends SidebarBaseComponent implements OnInit {
}
get aliasPrefix(): string {
if(this.isChild) {
return this.stakeholder.parent.alias + '/browse/' + this.stakeholder.type + '/';
} else {
return '';
}
return this.isChild ? this.stakeholder.parent.alias + '/browse/' + this.stakeholder.type + '/' : '';
}
private setSideBar() {

View File

@ -61,7 +61,7 @@
<a [routerLink]="'./' + item.alias" class="uk-link-reset" [class.uk-disabled]="!hasPermission(item)">
<div class="uk-card uk-card-default uk-card-hover" [class.uk-disabled]="!hasPermission(item)">
<div *ngIf="item.visibility" [ngClass]="isMobile?'uk-flex uk-flex-middle uk-flex-right uk-margin-small-right uk-margin-small-top':'uk-position-top-right uk-margin-small-top uk-margin-small-right uk-flex uk-flex-column uk-flex-middle'">
<icon [name]="visibilityIcon.get(item.visibility)" [ratio]="isMobile?0.8:1" [flex]="true"></icon>
<icon [name]="visibilityIcon.get(item.visibility)" [ratio]="0.8" [flex]="true"></icon>
</div>
<div class="uk-padding-small top-info">
<!-- logo -->