From 322ee51e261a61861a085dc3ca01d1d456f6338f Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Tue, 12 Apr 2022 16:52:49 +0300 Subject: [PATCH] [Library & common-assets| new-theme]: Fixes in custom-external. 1. resultLanding.component.html: [Bug fix] In EGI Notebook, uk-text-uppercase should be in text (custom-external icon could not be loaded). 2. resultLanding.component.ts: Removed unnecessary log. 3. result-preview.component.html: Added properly "custom-external" class. 4. utils.css: In class "custom-external", set verical-align: super. --- landingPages/result/resultLanding.component.html | 4 ++-- landingPages/result/resultLanding.component.ts | 1 - .../result-preview/result-preview.component.html | 16 ++++++---------- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/landingPages/result/resultLanding.component.html b/landingPages/result/resultLanding.component.html index 565cc612..8a2ad3dd 100644 --- a/landingPages/result/resultLanding.component.html +++ b/landingPages/result/resultLanding.component.html @@ -367,13 +367,13 @@
- eosc_logo - EOSC SERVICE: EGI NOTEBOOK + EOSC SERVICE: EGI NOTEBOOK
diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts index a6b623ef..db26e4de 100644 --- a/landingPages/result/resultLanding.component.ts +++ b/landingPages/result/resultLanding.component.ts @@ -207,7 +207,6 @@ export class ResultLandingComponent { })); this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--navbar-height')); - console.log(this.offset); } private initMetaAndLinks(type: string) { diff --git a/utils/result-preview/result-preview.component.html b/utils/result-preview/result-preview.component.html index 023bd5f1..60a2b247 100644 --- a/utils/result-preview/result-preview.component.html +++ b/utils/result-preview/result-preview.component.html @@ -7,9 +7,9 @@ alt="Enermaps tool preview" loading="lazy">

Visit - Enermaps tool + Enermaps tool

@@ -55,7 +55,7 @@ + target="_blank" [href]="externalUrl+result.id" class="custom-external uk-link uk-width-expand"> {{result.acronym}} @@ -67,7 +67,6 @@ [no title available] -
Website URL: - - + {{result.websiteURL}} @@ -234,8 +232,7 @@
OAI-PMH URL: - - + {{result.OAIPMHURL}} @@ -271,8 +268,7 @@ Download from: - {{from.downloadNames.join("; ")}} - + {{from.downloadNames.join("; ")}} {{from.downloadNames.join(", ")}}