From 20d392a6300fc331df30f8f11da8b2f33cbe4a93 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 23 Sep 2024 16:54:07 +0200 Subject: Cleanup Datetime styles --- app/components/Datetime.tsx | 6 +++--- app/globals.css | 16 ---------------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/app/components/Datetime.tsx b/app/components/Datetime.tsx index 0a8fbcf..b781287 100644 --- a/app/components/Datetime.tsx +++ b/app/components/Datetime.tsx @@ -20,9 +20,9 @@ export function DateTime({ images, slider }: DateTimeProps) { const time = datetime ? datetime.toFormat("HH:mm") : ""; return ( -
-
{date}
-
{time}
+
+
{date}
+
{time}
); } diff --git a/app/globals.css b/app/globals.css index 62b9a76..3024a0c 100644 --- a/app/globals.css +++ b/app/globals.css @@ -26,22 +26,6 @@ body { } } -#datetime { - position: absolute; - top: 20px; - left: 20px; - color: white; - font-family: monospace; -} - -#date { - font-size: 1.4em; -} - -#time { - font-size: 2.8em; -} - #slider { position: fixed; bottom: 8vh; -- cgit v1.3.1