Skip to content

Commit

Permalink
Remove overflow, possibly related to X2-6961
Browse files Browse the repository at this point in the history
Revert "Remove overflow, possibly related to X2-6961"

This reverts commit 474fc7c.

Remove overflow, possibly related to X2-6961
  • Loading branch information
rushi committed Jan 17, 2025
1 parent 474fc7c commit 1fbcffa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Sidebar/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const Sidebar = ({
sidebarScroll,
"ui-sidebar",
isFixed ? "fixed" : "relative",
!isStickyHeaderFooter && "overflow-y-auto",
"z-20 flex h-full w-16 flex-col bg-black px-1 py-2 text-white md:w-24 xl:w-50",
className,
)}
Expand Down Expand Up @@ -96,7 +97,7 @@ export const Sidebar = ({
/>
)}

<div className={cn("flex-grow space-y-2", isStickyHeaderFooter && "overflow-y-auto")}>
<div className={cn("flex-grow space-y-2")}>
<div className="text-center">
{logo ?? (
<XolaLogoSimple
Expand Down

0 comments on commit 1fbcffa

Please sign in to comment.