Skip to content

Commit 5396440

Browse files
feat: (test change) footer always at the bottom
1 parent 483f72a commit 5396440

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/styles/App.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
.App {
22
text-align: center;
3+
display: flex;
4+
flex-direction: column;
5+
min-height: 100%;
6+
width: 100%;
7+
}
8+
9+
.App-footer {
10+
margin-top: auto;
11+
justify-self: flex-end;
312
}
413

514
.metakgp-logo {

src/styles/global.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ body {
1010
color: #fcfcfc;
1111
-webkit-font-smoothing: antialiased;
1212
-moz-osx-font-smoothing: grayscale;
13+
min-height: 100%;
1314
}
1415

1516
@keyframes gradient_anim {
@@ -30,3 +31,8 @@ code {
3031
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
3132
monospace;
3233
}
34+
35+
#root {
36+
min-height: 100vh;
37+
display: flex;
38+
}

0 commit comments

Comments
 (0)