Skip to content

Commit

Permalink
Move to CSS flex display for flags/ language selector positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfire84 committed Jan 19, 2020
1 parent 9ee099f commit d943949
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_templates/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{%- extends '!breadcrumbs.html' %}

{% block breadcrumbs_aside %}
<div>
<div>
<div style="display: flex;">
<div style="flex: 0 0 65%;">
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-fr" alt="France" role="button" onclick="gTranslate('fr')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-de" alt="Germany" role="button" onclick="gTranslate('de')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-jp" alt="Japan" role="button" onclick="gTranslate('ja')" />
Expand All @@ -11,6 +11,6 @@
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-es" alt="Spain" role="button" onclick="gTranslate('es')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-us" alt="United States of America" role="button" onclick="gTranslate('en')" />
</div>
<div id="google_translate_element" style="text-align: right;"></div>
<div id="google_translate_element" style="text-align: right;flex: 1"></div>
</div>
{% endblock %}

0 comments on commit d943949

Please sign in to comment.