Skip to content

Commit

Permalink
Fix sidebar width
Browse files Browse the repository at this point in the history
  • Loading branch information
barbara-chaves committed Jun 25, 2024
1 parent 9a38914 commit f792264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/containers/sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ const Sidebar = ({ children }: PropsWithChildren): JSX.Element => {
return (
<aside
className={cn(
"relative left-0 top-0 z-10 h-full w-96 bg-background shadow transition-transform duration-300 ease-in-out",
"relative left-0 top-0 z-10 h-full bg-background shadow transition-transform duration-300 ease-in-out",
{
"-translate-x-full": !open,
"translate-x-0": open,
},
)}
>
<ScrollArea className="relative h-[var(--content-height)]">{children}</ScrollArea>
<ScrollArea className="relative h-[var(--content-height)] w-96">{children}</ScrollArea>

<div className="absolute left-full top-6 z-0 rounded-r-full bg-white/40 p-1 pl-0 shadow backdrop-blur-lg">
<button className="rounded-r-full bg-background px-1 py-2.5 " onClick={toggleOpen}>
Expand Down

0 comments on commit f792264

Please sign in to comment.