frontend: some small fixes

Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
This commit is contained in:
Nicolas Froger 2024-07-22 02:51:50 +02:00
commit 5c6e641fbd
No known key found for this signature in database
3 changed files with 6 additions and 3 deletions

View file

@ -23,6 +23,7 @@ function postDataToggle() {
}
for (const desc of postDataDescription.value) {
desc.classList.add("opacity-0");
desc.classList.remove("scrollable-element");
}
for (const btn of postActionBtn.value) {
btn.classList.remove("top-0");
@ -42,6 +43,7 @@ function postDataToggle() {
}
for (const desc of postDataDescription.value) {
desc.classList.remove("opacity-0");
desc.classList.add("scrollable-element");
}
for (const btn of postActionBtn.value) {
btn.classList.add("top-0");