Skip to content

Commit

Permalink
fix: collapsible dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
amalcaraz committed Nov 1, 2023
1 parent 1207fce commit aaa0544
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/common/ToggleDashboard/cmp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const ToggleDashboard = ({
} = useTransitionedEnterExit<HTMLButtonElement>({
onOff: !open,
})

return (
<div tw="relative mt-8 mb-14 min-h-[2.3125rem]" {...rest}>
{mount1 && (
Expand All @@ -46,7 +47,10 @@ export const ToggleDashboard = ({
<ToggleContainer
open={open}
duration={500}
css={[tw`transition-all duration-500`, open && tw`p-80 -m-80`]}
css={[
tw`transition-all duration-500`,
open && tw`p-16 -m-16 rounded-[4rem]`,
]}
>
{children}
<Button
Expand Down

0 comments on commit aaa0544

Please sign in to comment.