From d865ede3abdd7e44bc5cc5752dbc21bfe10f4dbc Mon Sep 17 00:00:00 2001 From: Josip Igrec Date: Wed, 20 Sep 2023 13:53:51 +0200 Subject: [PATCH] Tweak multimedia events mobile year display --- src/pages/multimedia/events/index.tsx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/pages/multimedia/events/index.tsx b/src/pages/multimedia/events/index.tsx index df761c7..9102c4b 100644 --- a/src/pages/multimedia/events/index.tsx +++ b/src/pages/multimedia/events/index.tsx @@ -75,16 +75,17 @@ const GalleryList: FC<{ key={month} className="grid grid-cols-1 gap-4 br:grid-cols-[12ch,1fr] br:gap-8" > -

- {monthFormatter.format( - utcDate({ - year: props.forYear, - month: Number(month), - day: 1, - }), - )} -
- {data.forYear}. +

+ + {monthFormatter.format( + utcDate({ + year: props.forYear, + month: Number(month), + day: 1, + }), + )} + + {`${data.forYear}.`}

{galleries.map((gallery) => {