added canvas resizing

This commit is contained in:
paul
2024-08-05 22:36:05 +05:30
parent 940fe815c6
commit 5594daec82
14 changed files with 1099 additions and 60 deletions

View File

@@ -44,8 +44,8 @@ function Sidebar({tabs}){
return (
<div className={`tw-relative tw-min-w-[80px] tw-duration-[0.3s] tw-transition-all
tw-max-w-[400px] tw-flex tw-h-full
${sidebarOpen ? "tw-bg-white tw-w-[400px] tw-shadow-lg": "tw-bg-primaryBg tw-w-[80px]"}
tw-max-w-[400px] tw-flex tw-h-full tw-z-10
${sidebarOpen ? "tw-bg-white tw-min-w-[400px] tw-w-[400px] tw-shadow-lg": "tw-bg-primaryBg tw-w-[80px]"}
`} ref={sideBarRef}
onMouseLeave={hideOnMouseLeave}
>