Skip to content

Commit

Permalink
fix: set the correct height of lists now that there is a header
Browse files Browse the repository at this point in the history
  • Loading branch information
andy.speirs committed May 13, 2024
1 parent ae905ad commit bbbe9b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Sidebar/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function Content() {
return (
<Card
as="nav"
className="flex-1 h-full overflow-hidden relative"
className="flex flex-col flex-1 overflow-hidden relative"
aria-label="Sidebar"
>
<FolderList
Expand Down
2 changes: 1 addition & 1 deletion src/components/Sidebar/ContentNested.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function ContentNested() {
leaveTo="translate-x-full"
className="absolute top-0 w-full h-full"
>
<Card className="h-full">
<Card className="flex flex-col h-full">
<ContentHeader
onBack={() => setCurrentFolder(null)}
title={currentFolder || 'All Notes'}
Expand Down

0 comments on commit bbbe9b8

Please sign in to comment.