[Library | Trunk]: Search results - Landing titles break line

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60751 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-03-30 12:04:52 +00:00
parent 56081c33da
commit 494ee446e7
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ import {ActivatedRoute} from '@angular/router';
<ng-container *ngTemplateOutlet="_title;"></ng-container> <ng-container *ngTemplateOutlet="_title;"></ng-container>
</h2> </h2>
<ng-template #_title> <ng-template #_title>
<div *ngIf="title != undefined" class="landingTitle"> <div *ngIf="title != undefined" class="landingTitle uk-text-break">
<span *ngIf="title['url'] != undefined && title['url'] != null && title['url'] != ''" <span *ngIf="title['url'] != undefined && title['url'] != null && title['url'] != ''"
class="custom-external"> class="custom-external">
<a *ngIf="title['name'] != undefined && title['name'] != ''" <a *ngIf="title['name'] != undefined && title['name'] != ''"
@ -33,7 +33,7 @@ import {ActivatedRoute} from '@angular/router';
[no title available] [no title available]
</span> </span>
</div> </div>
<div *ngIf="titleName"> <div *ngIf="titleName" class="uk-text-break">
<span [innerHTML]="titleName"></span> <span [innerHTML]="titleName"></span>
</div> </div>
<div *ngIf="!titleName && !title"> <div *ngIf="!titleName && !title">

View File

@ -1,5 +1,5 @@
<!-- Before title -->
<div *ngIf="result"> <div *ngIf="result">
<!-- Before title -->
<div class="uk-grid uk-flex uk-flex-middle"> <div class="uk-grid uk-flex uk-flex-middle">
<div class="uk-width-expand"> <div class="uk-width-expand">
<div> <div>
@ -23,7 +23,7 @@
</div> </div>
<!-- Title --> <!-- Title -->
<div class="uk-margin-small-bottom"> <div class="uk-margin-small-bottom">
<h6 class="uk-margin-remove"> <h6 class="uk-margin-remove uk-text-break">
<a *ngIf="!externalUrl && result.id && !(result.resultType == 'dataprovider' && result.compatibilityUNKNOWN) " <a *ngIf="!externalUrl && result.id && !(result.resultType == 'dataprovider' && result.compatibilityUNKNOWN) "
(click)="onClick()" [queryParams]="createParam()" (click)="onClick()" [queryParams]="createParam()"
[routerLink]="url" class="uk-link uk-width-expand"> [routerLink]="url" class="uk-link uk-width-expand">