From 5212532773a788dc86907c607fadddd942b6f844 Mon Sep 17 00:00:00 2001 From: alma Date: Tue, 15 Apr 2025 14:52:43 +0200 Subject: [PATCH] news design correction padding 14 --- components/news.tsx | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/components/news.tsx b/components/news.tsx index 69a73ca..101571f 100644 --- a/components/news.tsx +++ b/components/news.tsx @@ -109,25 +109,23 @@ export function News() { className="p-2 rounded-lg bg-white shadow-sm hover:shadow-md transition-all duration-200 border border-gray-100" onClick={() => window.open(item.url, '_blank')} > -
-
-

- {item.title} -

-
- {formatDate(item.date)} - {item.category && ( - - {item.category} - - )} -
- {item.description && ( -

- {item.description} -

+
+

+ {item.title} +

+
+ {formatDate(item.date)} + {item.category && ( + + {item.category} + )}
+ {item.description && ( +

+ {item.description} +

+ )}
))