Skip to content

Commit

Permalink
fix: fix opacity to gradually show the component (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor authored Nov 19, 2024
1 parent 1a78efc commit 5d26e10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ const config: Config = {
to: { height: '0' },
},
'collapsible-down': {
from: { height: '0' },
to: { height: 'var(--radix-collapsible-content-height)' },
from: { height: '0', opacity: '0' },
to: { height: 'var(--radix-collapsible-content-height)', opacity: '1' },
},
'collapsible-up': {
from: { height: 'var(--radix-collapsible-content-height)' },
to: { height: '0' },
from: { height: 'var(--radix-collapsible-content-height)', opacity: '1' },
to: { height: '0', opacity: '0' },
},
'fade-out-slide-out': {
from: {
Expand Down

0 comments on commit 5d26e10

Please sign in to comment.