comparison default/blog/item.html @ 42:0c6aa1c81252

blog/item: transition fix removed big value on max-height for transition workaround in favor of new clicked_mh_fix function + reduced transition time to 0.5 s
author Goffi <goffi@goffi.org>
date Thu, 13 Jul 2017 08:39:23 +0200
parents baa0942d6b45
children 580670430fa2
comparison
equal deleted inserted replaced
41:e296ee56f611 42:0c6aa1c81252
3 {% if item.language and locale and locale.language != item.language %} 3 {% if item.language and locale and locale.language != item.language %}
4 {# we may display items in different language in a specific way #} 4 {# we may display items in different language in a specific way #}
5 {% set other_lang = " other_lang" %} 5 {% set other_lang = " other_lang" %}
6 {% endif %} 6 {% endif %}
7 7
8 <article id="{{ item.id }}" class="init box{{other_lang}}" onclick="clicked_cls(this)"> 8 <article id="{{ item.id }}" class="init box{{other_lang}}" onclick="clicked_mh_fix(this)">
9 {% if other_lang is defined %} 9 {% if other_lang is defined %}
10 <div class="info"><p>{% trans language=locale.language_name %}This message is not in {{language}}, click to display anyway{% endtrans %}</p></div> 10 <div class="info"><p>{% trans language=locale.language_name %}This message is not in {{language}}, click to display anyway{% endtrans %}</p></div>
11 {% endif %} 11 {% endif %}
12 12
13 <header> 13 <header>