Fix item desc animation (#382)

This commit is contained in:
Dapoulp 2025-07-20 03:58:31 +02:00 committed by GitHub
parent b8930b18a4
commit 50ba7408b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,12 +113,14 @@
margin-bottom: 5px;
}
&.extensible {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease-in-out;
display: grid;
grid-template-rows: 0fr;
transition: grid-template-rows 0.3s ease-in-out;
&.extended {
max-height: 500px;
overflow: auto;
grid-template-rows: 1fr;
}
.invetory-description {
overflow: hidden;
}
}
.item-resources {