1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

fix img size

This commit is contained in:
checktheroads
2019-08-16 23:59:20 -07:00
parent 6ba9de874c
commit da5abf4172

View File

@@ -7,9 +7,11 @@
<{{ size_title }}>{{ branding.text.title }}</{{ size_title }}> <{{ size_title }}>{{ branding.text.title }}</{{ size_title }}>
<{{ size_subtitle }}>{{ branding.text.subtitle.format(primary_asn=primary_asn) }}</{{ size_subtitle }}> <{{ size_subtitle }}>{{ branding.text.subtitle.format(primary_asn=primary_asn) }}</{{ size_subtitle }}>
{% elif branding.text.title_mode == 'logo_title' %} {% elif branding.text.title_mode == 'logo_title' %}
<img src="{{ branding.logo.path }}" style="width: {{ branding.logo.width }}px;"> <img class="img-fluid" src="{{ branding.logo.path }}">
<{{ size_title }}>{{ branding.text.title }}</{{ size_title }}> <{{ size_title }}>{{ branding.text.title }}</{{ size_title }}>
{% elif branding.text.title_mode == 'logo_only' %} {% elif branding.text.title_mode == 'logo_only' %}
<img src="{{ branding.logo.path }}" style="width: {{ branding.logo.width }}px;"> <div class="text-center">
<img class="img-fluid" src="{{ branding.logo.path }}">
</div>
{% endif %} {% endif %}
{%- endmacro %} {%- endmacro %}