Port package details page to pure JavaScript

Use a CSS animation for jQuery.Animate and replace the rest with pure
vanilla JavaScript.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
This commit is contained in:
Jelle van der Waa 2021-05-10 23:55:36 +02:00 committed by Eli Schwartz
parent 8b6f92f9e9
commit d7603fa4d3
No known key found for this signature in database
GPG key ID: CEB167EFB5722BD6
2 changed files with 65 additions and 36 deletions

View file

@ -199,3 +199,8 @@ label.confirmation,
.error {
color: red;
}
.article-content > div {
overflow: hidden;
transition: height 1s;
}