Skip to content

Commit 33ffcf1

Browse files
committed
fix: scroll bars on bottom of all pages because the page wasn't extend to the view fully and they were always showing
1 parent 8dd46ea commit 33ffcf1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/views/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function Layout({ user }: Props) {
1818
<header className="Layout-header">
1919
<h1>GrocerEase</h1>
2020
</header>
21-
<main className="Layout-main overflow-scroll">
21+
<main className="Layout-main overflow-auto">
2222
{user && (
2323
<Button
2424
onClick={() => navigate("/about")}

src/views/authenticated/AuthenticatedHome.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface Props {
1010

1111
export function AuthenticatedHome({ data, setListPath, user }: Props) {
1212
return (
13-
<div className="Home">
13+
<>
1414
<p>
1515
Hello from the home (<code>/</code>) page!
1616
</p>
@@ -29,6 +29,6 @@ export function AuthenticatedHome({ data, setListPath, user }: Props) {
2929
<CreateList user={user} setListPath={setListPath} />
3030
</>
3131
)}
32-
</div>
32+
</>
3333
);
3434
}

0 commit comments

Comments
 (0)