From bfad5a88f80df11033492787aa9b7a65a27230dc Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@gmail.com>
Date: Wed, 19 Aug 2020 10:47:30 -0500
Subject: [PATCH] Optimize the positioning of dimensions badge

---
 layouts/custom/publications.html | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/layouts/custom/publications.html b/layouts/custom/publications.html
index 9ea719a..f683199 100644
--- a/layouts/custom/publications.html
+++ b/layouts/custom/publications.html
@@ -12,15 +12,15 @@
         }
 
         .left {
-            width: 25%;
+            width: 20%;
         }
 
         .mid {
-            width: 50%;
+            width: 70%;
         }
 
         .right {
-            width: 25%;
+            width: 10%;
         }
 
         .row:after {
@@ -45,7 +45,7 @@
                 </div>
                 <div class="column right">
                     <br>
-                    <span class="__dimensions_badge_embed__" data-pmid="{{.Params.ppubmed}}" data-legend="hover-right" data-style="small_circle"></span>
+                    <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>
                 </div>
             </div>
             {{ if not (eq .Params.ppubmed "") }}
@@ -68,6 +68,5 @@
         {{end}}            
     </div>
 </div>
-<script async src="https://badge.dimensions.ai/badge.js" charset="utf-8"></script>
 
 {{ partial "footer.html" . }}
\ No newline at end of file
-- 
GitLab