[Library | Trunk]: Navbar add title tooltip on header title and recude his length to 2 lines
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60821 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
f0d0858a25
commit
e9bf5d8503
|
@ -270,8 +270,9 @@
|
|||
[alt]="header.title"
|
||||
class="uk-responsive-height" style="height: 70px;">
|
||||
<ng-container *ngIf="(mobile && !header.logoSmallUrl) || (!mobile && !header.logoUrl)">
|
||||
<span *ngIf="!mobile" style="max-width: 25vw;">{{header.title}}</span>
|
||||
<span *ngIf="mobile">{{(header.title)}}</span>
|
||||
<div class="multi-line-ellipsis lines-2" [style.max-width]="(!mobile)?'25vw':null" [title]="header.title">
|
||||
<p>{{header.title}}</p>
|
||||
</div>
|
||||
</ng-container>
|
||||
</a>
|
||||
<a *ngIf="header.url" [href]="header.url"
|
||||
|
@ -281,8 +282,9 @@
|
|||
[alt]="header.title"
|
||||
class="uk-responsive-height" style="height: 70px;">
|
||||
<ng-container *ngIf="(mobile && !header.logoSmallUrl) || (!mobile && !header.logoUrl)">
|
||||
<span *ngIf="!mobile" style="max-width: 25vw;">{{header.title}}</span>
|
||||
<span *ngIf="mobile">{{(header.title)}}</span>
|
||||
<div class="multi-line-ellipsis lines-2" [style.max-width]="(!mobile)?'25vw':null" [title]="header.title">
|
||||
<p>{{header.title}}</p>
|
||||
</div>
|
||||
</ng-container>
|
||||
</a>
|
||||
</ng-template>
|
||||
|
|
Loading…
Reference in New Issue