Skip to content

Commit 4104c64

Browse files
donranpontus
andauthored
fix(Accordion): fix keyframes for accordion animation (#1273)
Co-authored-by: pontus <pontus.norrstrom@iver.se>
1 parent f41f5c6 commit 4104c64

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/v4/registry/new-york-v4/ui/accordion/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
},
1111
"@keyframes accordion-up": {
1212
"from": {
13-
"height": "0"
13+
"height": "var(--reka-accordion-content-height)"
1414
},
1515
"to": {
16-
"height": "var(--reka-accordion-content-height)"
16+
"height": "0"
1717
}
1818
}
1919
},

apps/www/src/public/r/styles/new-york-v4/accordion.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
},
5656
"@keyframes accordion-up": {
5757
"from": {
58-
"height": "0"
58+
"height": "var(--reka-accordion-content-height)"
5959
},
6060
"to": {
61-
"height": "var(--reka-accordion-content-height)"
61+
"height": "0"
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)