From 406f502018fa651aa13327cbc1ad8a6e57172cb5 Mon Sep 17 00:00:00 2001 From: gakshita Date: Wed, 23 Jul 2025 14:21:30 +0530 Subject: [PATCH] chore: minor design changes for home --- apps/web/core/components/home/user-greetings.tsx | 2 +- .../core/components/stickies/layout/stickies-list.tsx | 9 +++------ apps/web/core/components/user/user-greetings.tsx | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/apps/web/core/components/home/user-greetings.tsx b/apps/web/core/components/home/user-greetings.tsx index 049d4f3a0d7..d88041d0a03 100644 --- a/apps/web/core/components/home/user-greetings.tsx +++ b/apps/web/core/components/home/user-greetings.tsx @@ -42,7 +42,7 @@ export const UserGreetingsView: FC = (props) => { return (
-

+

{t("good")} {t(greeting)}, {user?.first_name} {user?.last_name}

diff --git a/apps/web/core/components/stickies/layout/stickies-list.tsx b/apps/web/core/components/stickies/layout/stickies-list.tsx index f0cfb865add..6c6679830f9 100644 --- a/apps/web/core/components/stickies/layout/stickies-list.tsx +++ b/apps/web/core/components/stickies/layout/stickies-list.tsx @@ -182,13 +182,10 @@ export const StickiesLayout = (props: TStickiesLayout) => { }, []); const getColumnCount = (width: number | null): number => { - if (width === null) return 4; + if (width === null) return 3; - if (width < 640) return 2; // sm - if (width < 768) return 3; // md - if (width < 1024) return 4; // lg - if (width < 1280) return 5; // xl - return 6; // 2xl and above + if (width < 640) return 2; + return 3; }; const columnCount = getColumnCount(containerWidth); diff --git a/apps/web/core/components/user/user-greetings.tsx b/apps/web/core/components/user/user-greetings.tsx index 07b11d7f24c..1327d268620 100644 --- a/apps/web/core/components/user/user-greetings.tsx +++ b/apps/web/core/components/user/user-greetings.tsx @@ -42,7 +42,7 @@ export const UserGreetingsView: FC = (props) => { return (
-

+

{t("good")} {t(greeting)}, {user?.first_name} {user?.last_name}