[WEB-4552] chore: minor design changes for home #7459

This commit is contained in:
Akshita Goyal 2025-07-23 14:30:25 +05:30 committed by GitHub
parent 9007ec3709
commit d2629d723c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 8 deletions

View File

@ -42,7 +42,7 @@ export const UserGreetingsView: FC<IUserGreetingsView> = (props) => {
return (
<div className="flex flex-col items-center my-6">
<h2 className="text-xl font-semibold text-center">
<h2 className="text-2xl font-semibold text-center">
{t("good")} {t(greeting)}, {user?.first_name} {user?.last_name}
</h2>
<h5 className="flex items-center gap-2 font-medium text-custom-text-400">

View File

@ -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);

View File

@ -42,7 +42,7 @@ export const UserGreetingsView: FC<IUserGreetingsView> = (props) => {
return (
<div className="flex flex-col items-center my-6">
<h2 className="text-xl font-semibold text-center">
<h2 className="text-2xl font-semibold text-center">
{t("good")} {t(greeting)}, {user?.first_name} {user?.last_name}
</h2>
<h5 className="flex items-center gap-2 font-medium text-custom-text-400">