mirror of
https://github.com/gosticks/plane.git
synced 2025-10-16 12:45:33 +00:00
[WEB-4552] chore: minor design changes for home #7459
This commit is contained in:
parent
9007ec3709
commit
d2629d723c
@ -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">
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user