Skip to content

Commit

Permalink
fix: scroll bars on bottom of all pages because the page wasn't exten…
Browse files Browse the repository at this point in the history
…d to the view fully and they were always showing
  • Loading branch information
bbland1 committed Sep 30, 2024
1 parent 8dd46ea commit 33ffcf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/views/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function Layout({ user }: Props) {
<header className="Layout-header">
<h1>GrocerEase</h1>
</header>
<main className="Layout-main overflow-scroll">
<main className="Layout-main overflow-auto">
{user && (
<Button
onClick={() => navigate("/about")}
Expand Down
4 changes: 2 additions & 2 deletions src/views/authenticated/AuthenticatedHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface Props {

export function AuthenticatedHome({ data, setListPath, user }: Props) {
return (
<div className="Home">
<>
<p>
Hello from the home (<code>/</code>) page!
</p>
Expand All @@ -29,6 +29,6 @@ export function AuthenticatedHome({ data, setListPath, user }: Props) {
<CreateList user={user} setListPath={setListPath} />
</>
)}
</div>
</>
);
}

0 comments on commit 33ffcf1

Please sign in to comment.