diff default/static/blog.css @ 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 581e2cd4bcc2
children f8798d691acf
line wrap: on
line diff
--- 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 {