Skip to content

Commit d9cdd55

Browse files
committed
refactor: update layout styles to use min-height and adjust footer placement
1 parent e3c18e0 commit d9cdd55

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
.appContainer {
22
display: flex;
33
flex-direction: column;
4-
height: 100vh;
5-
overflow: hidden;
4+
min-height: 100vh;
65
}
76

87
.mainContent {
98
flex: 1;
109
display: flex;
1110
flex-direction: column;
12-
overflow-y: auto;
1311
position: relative;
1412
background-color: var(--color-bg-primary);
1513
}

src/components/Layout/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export function Layout({ children, moduleNav }: LayoutProps) {
1919
<Header moduleNav={moduleNav} />
2020
<main className={styles.mainContent}>
2121
{children}
22-
<Footer />
2322
</main>
23+
<Footer />
2424
</div>
2525
);
2626
}

0 commit comments

Comments
 (0)