fix: session list overflow when there are many list items. (#5832)

Co-authored-by: xuyingjie <xuyingjie@unipus.cn>
This commit is contained in:
xuyingjie 2025-01-23 04:23:42 +08:00 • committed by GitHub
commit 33ba516e48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -264,7 +264,7 @@ export default function IOModal({
<div className="flex-max-width h-full"> <div className="flex-max-width h-full">
<div <div
className={cn( className={cn(
"flex h-full flex-shrink-0 flex-col justify-start transition-all duration-300", "flex h-full flex-shrink-0 flex-col justify-start overflow-hidden transition-all duration-300",
sidebarOpen sidebarOpen
? "absolute z-50 lg:relative lg:w-1/5 lg:max-w-[280px]" ? "absolute z-50 lg:relative lg:w-1/5 lg:max-w-[280px]"
: "w-0", : "w-0",