From e02233ed24f8dcc4297f1d6f32a75312cf38f1c7 Mon Sep 17 00:00:00 2001 From: prisar Date: Thu, 20 Jul 2023 19:29:37 +0530 Subject: [PATCH] change footer --- src/App.css | 18 ++++++++++++------ src/App.js | 4 ++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/App.css b/src/App.css index f27d915..356364a 100644 --- a/src/App.css +++ b/src/App.css @@ -52,7 +52,7 @@ body { .last-update { width: 100%; font-size: small; - text-align: end; + text-align: center; font-weight: 200; } @@ -99,10 +99,6 @@ body { align-items: center; } -.last-update { - margin-right: 10vw; -} - @media screen and (min-width: 320px) { .numeric-card { height: 200px; @@ -305,7 +301,7 @@ body { text-align: center; align-self: center; font-size: xx-large; - background-color: rgb(215, 192, 252); + background-color: rgb(207, 235, 250); } .title-text { @@ -405,4 +401,14 @@ div.bar { padding-right: 1em; margin-bottom: 2px; text-align: right; +} + +.footer { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + background-color: rgb(185, 181, 181); + color: black; + text-align: center; } \ No newline at end of file diff --git a/src/App.js b/src/App.js index e563d61..0ea7904 100644 --- a/src/App.js +++ b/src/App.js @@ -138,8 +138,9 @@ function App() { + -
+
Updated At: {Date(lastUpdate).toLocaleString()}
@@ -148,7 +149,6 @@ function App() { Developed by ShanMukha
- ); }