# HG changeset patch # User Goffi # Date 1499927963 -7200 # Node ID 0c6aa1c812528e875289710721ca908988eeb4f0 # Parent e296ee56f611e16b54dfd75ab6748f60bfc8e601 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 diff -r e296ee56f611 -r 0c6aa1c81252 default/blog/item.html --- a/default/blog/item.html Thu Jul 13 08:36:07 2017 +0200 +++ b/default/blog/item.html Thu Jul 13 08:39:23 2017 +0200 @@ -5,7 +5,7 @@ {% set other_lang = " other_lang" %} {% endif %} -
+
{% if other_lang is defined %}

{% trans language=locale.language_name %}This message is not in {{language}}, click to display anyway{% endtrans %}

{% endif %} diff -r e296ee56f611 -r 0c6aa1c81252 default/static/blog.css --- a/default/static/blog.css Thu Jul 13 08:36:07 2017 +0200 +++ b/default/static/blog.css Thu Jul 13 08:39:23 2017 +0200 @@ -8,7 +8,7 @@ padding: 2%; max-height: 7em; overflow: hidden; - transition: max-height 2s; + transition: max-height 0.5s; } .main_article article.box:not(.clicked) { @@ -181,9 +181,7 @@ /**** clicked ****/ .main_article article.clicked { - max-height: 10000px; border-bottom-style: solid; - overflow: auto; } .clicked .expand_box {