Fix item desc animation

This commit is contained in:
Dapoolp 2025-07-20 03:50:34 +02:00
parent b8930b18a4
commit 2a9e70815d

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 {