commit d90676a4113122bf937d8cdcbd321f0b3f581e0f
parent c8a486298cdf7b6428a4536c20e70512da913dc3
Author: tanhengyeow <E0032242@u.nus.edu>
Date: Wed, 17 Jun 2020 17:07:19 +0800
Update styles
Diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/frontend/craco.config.js b/frontend/craco.config.js
@@ -12,6 +12,7 @@ module.exports = {
'@body-background': '#f0f2f5',
'@menu-item-padding': '0 120px',
'@menu-bg': 'none',
+ '@menu-item-font-size': '16px',
},
javascriptEnabled: true,
},
diff --git a/frontend/src/components/footer/Footer.less b/frontend/src/components/footer/Footer.less
@@ -1,6 +1,4 @@
.footer {
- position: absolute;
- bottom: 0;
height: 4rem;
background: #1890ff;
width: 100vw;
@@ -8,6 +6,8 @@
flex-direction: column;
align-items: flex-end;
justify-content: center;
+ position: fixed;
+ bottom: 0;
}
.footer .text {
diff --git a/frontend/src/routes/Layout.less b/frontend/src/routes/Layout.less
@@ -1,4 +1,4 @@
.container {
- height: 100vh;
- padding: 30px 60px 0px 60px;
+ // height: 100vh;
+ padding: 30px 60px 64px 60px;
}