Skip to content

Commit

Permalink
Fixed Notes page height issue (#950)
Browse files Browse the repository at this point in the history
* Update notes.tsx

* Update root.tsx
  • Loading branch information
Ayush-v authored Feb 25, 2025
1 parent f48ec68 commit 2212cd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function App() {
</nav>
</header>

<div className="flex-1">
<div className="flex-1 flex flex-col">
<Outlet />
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/routes/users+/$username_+/notes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function NotesRoute({ loaderData }: Route.ComponentProps) {
const navLinkDefaultClassName =
'line-clamp-2 block rounded-l-full py-2 pl-8 pr-6 text-base lg:text-xl'
return (
<main className="container flex h-full min-h-[400px] px-0 pb-12 md:px-8">
<main className="container flex flex-1 min-h-[400px] px-0 pb-12 md:px-8">
<div className="grid w-full grid-cols-4 bg-muted pl-2 md:container md:rounded-3xl md:pr-0">
<div className="relative col-span-1">
<div className="absolute inset-0 flex flex-col">
Expand Down

0 comments on commit 2212cd7

Please sign in to comment.