fix width of left sidebar

This commit is contained in:
Abhimanyu Yadav
2025-05-20 10:30:18 +05:30
parent c6942e4e6f
commit e125b5923c
2 changed files with 2 additions and 2 deletions

View File

@@ -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,
)}

View File

@@ -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}