From e30d21aa7d81e2506883e512b6de15b08f176128 Mon Sep 17 00:00:00 2001 From: stuffinator Date: Sun, 30 Oct 2022 14:44:09 +0100 Subject: [PATCH] fixed datetime widget size issue - the widget was missing a flex-col div around it and was therefore taking up more space than it needed as it was reported here https://github.com/benphelps/homepage/issues/235#issuecomment-1276209354 --- src/components/widgets/datetime/datetime.jsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/widgets/datetime/datetime.jsx b/src/components/widgets/datetime/datetime.jsx index f35b59394..dceaf06a3 100644 --- a/src/components/widgets/datetime/datetime.jsx +++ b/src/components/widgets/datetime/datetime.jsx @@ -27,10 +27,12 @@ export default function DateTime({ options }) { const dateFormat = new Intl.DateTimeFormat(i18n.language, { ...format }); return ( -
- - {dateFormat.format(date)} - +
+
+ + {dateFormat.format(date)} + +
); }