Skip to content

Commit

Permalink
fix doc tree spacing between sections
Browse files Browse the repository at this point in the history
  • Loading branch information
vieiralucas committed Dec 31, 2024
1 parent 00fda91 commit 0a587f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions apps/web/src/components/DocumentsTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,7 @@ function NodeComponent(props: NodeComponentProps) {
)}
</div>
</div>
{props.isLast && props.level === 0 && !props.flat && (
<div className="h-10" />
)}
{props.isLast && props.level === 0 && <div className="h-10" />}
</li>
)
}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export default function Layout({
<div
className={clsx(
'overflow-hidden',
favoriteDocuments.size === 0 ? 'pt-8' : 'pt-6'
favoriteDocuments.size === 0 ? 'pt-8' : ''
)}
>
<div className="flex items-center text-xs font-semibold leading-6 text-gray-400 pl-6 pr-1.5 pb-1 justify-between">
Expand Down

0 comments on commit 0a587f0

Please sign in to comment.