From f28c6fd34549cace61808c702f0bfb27e85857bf Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Mon, 9 Sep 2019 10:24:49 +0200
Subject: [PATCH] bugfix: publication citation overflow bugfix: info icon
 always visible

---
 src/components/sleightOfHand/soh.style.css          |  2 +-
 .../singleDataset/singleDataset.template.html       | 13 +++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/components/sleightOfHand/soh.style.css b/src/components/sleightOfHand/soh.style.css
index 2c4f61aa2..701612d06 100644
--- a/src/components/sleightOfHand/soh.style.css
+++ b/src/components/sleightOfHand/soh.style.css
@@ -1,6 +1,6 @@
 :host:not(.do-not-close):not(:hover) > .sleight-of-hand-back,
 :host:not(.do-not-close):hover > .sleight-of-hand-front,
-:host-context(.do-not-close) > .sleight-of-hand-front
+:host(.do-not-close) > .sleight-of-hand-front
 {
   opacity: 0;
   pointer-events: none;
diff --git a/src/ui/databrowserModule/singleDataset/singleDataset.template.html b/src/ui/databrowserModule/singleDataset/singleDataset.template.html
index 26170511e..adeb851f8 100644
--- a/src/ui/databrowserModule/singleDataset/singleDataset.template.html
+++ b/src/ui/databrowserModule/singleDataset/singleDataset.template.html
@@ -14,12 +14,13 @@
 
   <!-- publications -->
   <mat-card-content>
-    <a *ngFor="let publication of publications"
-      [href]="publication.doi | doiParserPipe"
-      mat-button
-      target="_blank">
-      {{ publication.cite }}
-    </a>
+    <div class="d-inline-block mb-2"
+      *ngFor="let publication of publications">
+      <a [href]="publication.doi | doiParserPipe"
+        target="_blank">
+        {{ publication.cite }}
+      </a>
+    </div>
   </mat-card-content>
 
 
-- 
GitLab