Skip to content

Commit 1fbcffa

Browse files
committed
Remove overflow, possibly related to X2-6961
Revert "Remove overflow, possibly related to X2-6961" This reverts commit 474fc7c. Remove overflow, possibly related to X2-6961
1 parent 474fc7c commit 1fbcffa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Sidebar/Sidebar.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const Sidebar = ({
4141
sidebarScroll,
4242
"ui-sidebar",
4343
isFixed ? "fixed" : "relative",
44+
!isStickyHeaderFooter && "overflow-y-auto",
4445
"z-20 flex h-full w-16 flex-col bg-black px-1 py-2 text-white md:w-24 xl:w-50",
4546
className,
4647
)}
@@ -96,7 +97,7 @@ export const Sidebar = ({
9697
/>
9798
)}
9899

99-
<div className={cn("flex-grow space-y-2", isStickyHeaderFooter && "overflow-y-auto")}>
100+
<div className={cn("flex-grow space-y-2")}>
100101
<div className="text-center">
101102
{logo ?? (
102103
<XolaLogoSimple

0 commit comments

Comments
 (0)