Open avatar doc page in a new tab

Also set min-height for user profile container.

Change-Id: I4cdd13d966da9e1784084d727bb31ff18504f305
Signed-off-by: Andrii Ostapenko <aostapenko@stackalytics.io>
This commit is contained in:
Andrii Ostapenko 2021-03-27 22:48:46 -05:00
parent 3e3eccc4c3
commit ff530be322
No known key found for this signature in database
GPG Key ID: F3E83668DBB223B3

View File

@ -22,7 +22,7 @@
<script id="user_profile_template" type="text/x-jquery-tmpl">
{% raw %}
<div>
<div style="float: left;"><a href="https://wiki.openstack.org/wiki/Stackalytics#Avatars"><img src="${gravatar}"></a></div>
<div style="float: left;"><a href="https://wiki.openstack.org/wiki/Stackalytics#Avatars" target="_blank"><img src="${gravatar}"></a></div>
<div style="margin-left: 218px;">
<h2>${user_name}</h2>
<div>Company: <a href="{%html company_link.uri %}">{%html company_link.title %}</a>
@ -64,6 +64,6 @@
{% endraw %}
</script>
<div id="user_profile_container" style="margin-bottom: 2em;"></div>
<div id="user_profile_container" style="margin-bottom: 2em; min-height: 256px"></div>
{%- endmacro %}