[WEB-2173] fix: app sidebar spacing and build error (#5300)
* fix: app sidebar spacing * fix: build error
This commit is contained in:
parent
f9e7a5826b
commit
21343034c2
4 changed files with 19 additions and 12 deletions
|
|
@ -306,7 +306,12 @@ export const FavoriteFolder: React.FC<Props> = (props) => {
|
|||
leaveFrom="transform scale-100 opacity-100"
|
||||
leaveTo="transform scale-95 opacity-0"
|
||||
>
|
||||
<Disclosure.Panel as="div" className="flex flex-col gap-0.5 mt-1 px-2">
|
||||
<Disclosure.Panel
|
||||
as="div"
|
||||
className={cn("flex flex-col gap-0.5 mt-1", {
|
||||
"px-2": !isSidebarCollapsed,
|
||||
})}
|
||||
>
|
||||
{favorite.children.map((child) => (
|
||||
<FavoriteItem
|
||||
key={child.id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue