chore(templates): revert specific accordion and collapsible animations

This commit is contained in:
Benjamin Canac
2024-04-08 17:24:47 +02:00
parent d545a927a1
commit d43c29b4df
3 changed files with 13 additions and 4 deletions

View File

@@ -17,11 +17,20 @@ export function addTemplates (options: ModuleOptions, nuxt: Nuxt) {
color-scheme: light dark;
}
@keyframes slide-up {
@keyframes accordion-up {
from { height: var(--radix-accordion-content-height); }
to { height: 0; }
}
@keyframes accordion-down {
from { height: 0; }
to { height: var(--radix-accordion-content-height); }
}
@keyframes collapsible-up {
from { height: var(--radix-collapsible-content-height); }
to { height: 0; }
}
@keyframes slide-down {
@keyframes collapsible-down {
from { height: 0; }
to { height: var(--radix-collapsible-content-height); }
}