Skip to content
Snippets Groups Projects
Commit 8ef5020c authored by Gervaise H. Henry's avatar Gervaise H. Henry
Browse files

Fix dimensions badge hover info for small screens

parent bfad5a88
2 merge requests!86Develop,!85Fix dimensions badge hover info for small screens
Pipeline #7947 passed with stages
in 15 seconds
...@@ -23,6 +23,10 @@ ...@@ -23,6 +23,10 @@
width: 10%; width: 10%;
} }
.badge {
text-align: right
}
.row:after { .row:after {
content: ""; content: "";
display: table; display: table;
...@@ -45,7 +49,7 @@ ...@@ -45,7 +49,7 @@
</div> </div>
<div class="column right"> <div class="column right">
<br> <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>
</div> </div>
{{ if not (eq .Params.ppubmed "") }} {{ if not (eq .Params.ppubmed "") }}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment