Skip to content

Commit

Permalink
add animation to close and open sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
guyb1 committed Sep 3, 2024
1 parent 8cfa81c commit 6241da4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/editor-page/editor-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export const EditorPage: React.FC = () => {
defaultSize={isXl ? 25 : isLg ? 35 : 50}
minSize={isXl ? 25 : isLg ? 35 : 50}
maxSize={isSidePanelShowed ? 99 : 0}
className="transition-[flex-grow] duration-200"
>
<SidePanel />
</ResizablePanel>
Expand Down

0 comments on commit 6241da4

Please sign in to comment.