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; margin-bottom: 5px;
} }
&.extensible { &.extensible {
max-height: 0; display: grid;
overflow: hidden; grid-template-rows: 0fr;
transition: max-height 0.5s ease-in-out; transition: grid-template-rows 0.3s ease-in-out;
&.extended { &.extended {
max-height: 500px; grid-template-rows: 1fr;
overflow: auto; }
.invetory-description {
overflow: hidden;
} }
} }
.item-resources { .item-resources {