From 2af011243fa62467acbdf71296958640c218be39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Go=C5=84?= Date: Mon, 11 Sep 2017 20:02:19 +0200 Subject: [PATCH] Javascript re-sorting: Remove potentially breaking display property and reset max-height when animation is finished. --- htroot/yacysort.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/htroot/yacysort.css b/htroot/yacysort.css index e179f5c6e..b40ac9ac6 100644 --- a/htroot/yacysort.css +++ b/htroot/yacysort.css @@ -3,24 +3,24 @@ transform: scale(0); max-height: 0; opacity: 0; - display: hidden; padding-top: 0; } 50% { transform: scale(1); opacity: 1; } - 100% { + 99% { max-height: 500px; - display: block; padding-top: 1em; } + 100% { + max-height: none; + } } @keyframes hide { 0% { max-height: 500px; - display: block; padding-top: 1em; } 50% { @@ -31,7 +31,6 @@ transform: scale(0); max-height: 0; opacity: 0; - display: hidden; padding-top: 0; } }