From 8ef5020cb309fd1632517bb7b27ade7ed1f50a3a Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@gmail.com> Date: Wed, 19 Aug 2020 14:45:43 -0500 Subject: [PATCH] Fix dimensions badge hover info for small screens --- layouts/custom/publications.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/custom/publications.html b/layouts/custom/publications.html index f683199..b9b2ff1 100644 --- a/layouts/custom/publications.html +++ b/layouts/custom/publications.html @@ -23,6 +23,10 @@ width: 10%; } + .badge { + text-align: right + } + .row:after { content: ""; display: table; @@ -45,7 +49,7 @@ </div> <div class="column right"> <br> - <span class="__dimensions_badge_embed__" data-pmid="{{.Params.ppubmed}}" data-legend="hover-right" data-style="small_circle" style="text-align:right"></span><script async src="https://badge.dimensions.ai/badge.js" charset="utf-8"></script> + <span class="__dimensions_badge_embed__" data-pmid="{{.Params.ppubmed}}" data-style="small_circle"></span><script async src="https://badge.dimensions.ai/badge.js" charset="utf-8"></script> </div> </div> {{ if not (eq .Params.ppubmed "") }} -- GitLab