add: better card handling

Better handling of cards, safe to localStorage
This commit is contained in:
Fiona Lena Urban 2025-03-11 07:25:24 +01:00
parent d0f2adaa38
commit e4ff2ba229
4 changed files with 81 additions and 60 deletions

View file

@ -1,13 +1,14 @@
.PriceCard {
--height: auto;
width: 100%;
display: grid;
transition: var(--transition-default);
transition: 150ms;
grid-template-rows: auto 1fr auto;
height: var(--height);
max-height: 400px;
opacity: 1;
&.deleting {
height: 0;
max-height: 0;
opacity: 0;
}
&.folded {