From 8d234b05871744cc3a99adec3191d80069664609 Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Thu, 2 Jan 2025 16:02:29 +0100 Subject: [PATCH] fix(): Misc UI formatting fixes * Fixes footer CSS * Fixes URL example * Increase URL timeout --- frontend/src/components/URLShortener/URLShortener.tsx | 4 ++-- frontend/src/components/footer/Footer.css | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/URLShortener/URLShortener.tsx b/frontend/src/components/URLShortener/URLShortener.tsx index 7aa75e1..1712cff 100644 --- a/frontend/src/components/URLShortener/URLShortener.tsx +++ b/frontend/src/components/URLShortener/URLShortener.tsx @@ -49,7 +49,7 @@ export default function URLShortener() { setTimeout(() => { setShowInput(false); - }, 10000); + }, 900000); } catch (error) { console.log(error); } @@ -82,7 +82,7 @@ export default function URLShortener() {
setUrl(e.target.value)} diff --git a/frontend/src/components/footer/Footer.css b/frontend/src/components/footer/Footer.css index 291323a..3b99385 100644 --- a/frontend/src/components/footer/Footer.css +++ b/frontend/src/components/footer/Footer.css @@ -1,5 +1,8 @@ .footer { width: 100%; - height: 200px; + height: 100px; background-color: var(--color-secondary); + display: flex; + justify-content: center; + align-items: center; } \ No newline at end of file