Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Javascript re-sorting: Remove potentially breaking display property and reset max-height when animation is finished.

Ryszard Goń2af011243fa6
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;
}
}