mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix width of left sidebar
This commit is contained in:
@@ -20,7 +20,7 @@ const MenuItem: React.FC<Props> = ({
|
||||
return (
|
||||
<Button
|
||||
className={cn(
|
||||
"flex h-[2.375rem] w-full min-w-52 justify-between whitespace-normal rounded-[0.5rem] bg-transparent p-2 pl-3 shadow-none hover:cursor-pointer hover:bg-transparent focus:ring-0",
|
||||
"flex h-[2.375rem] w-full min-w-[12.875rem] justify-between whitespace-normal rounded-[0.5rem] bg-transparent p-2 pl-3 shadow-none hover:cursor-pointer hover:bg-transparent focus:ring-0",
|
||||
selected && "bg-zinc-100 hover:bg-zinc-100",
|
||||
className,
|
||||
)}
|
||||
|
||||
@@ -67,7 +67,7 @@ const BlockMenuSidebar: React.FC<BlockMenuSidebarProps> = ({
|
||||
];
|
||||
|
||||
return (
|
||||
<div className="space-y-2 p-4">
|
||||
<div className="space-y-2 px-4 pt-4">
|
||||
{topLevelMenuItems.map((item) => (
|
||||
<MenuItem
|
||||
key={item.type}
|
||||
|
||||
Reference in New Issue
Block a user