From c8af645404418f2593d1ce95fa93123f9719c03a Mon Sep 17 00:00:00 2001 From: Guilherme Jun Grillo <48109548+guijun13@users.noreply.github.com> Date: Tue, 6 Dec 2022 14:36:41 -0300 Subject: [PATCH] Chore: Add spacing adjustments Home page (#27367) --- apps/meteor/client/components/Page/PageHeader.tsx | 10 +++++++--- apps/meteor/client/views/home/DefaultHomePage.tsx | 4 ++-- apps/meteor/client/views/home/HomepageGridItem.tsx | 2 +- .../src/components/Card/CardFooterWrapper.tsx | 2 +- packages/ui-client/src/components/Card/CardTitle.tsx | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/apps/meteor/client/components/Page/PageHeader.tsx b/apps/meteor/client/components/Page/PageHeader.tsx index 416cba913386..aed5c44f39ed 100644 --- a/apps/meteor/client/components/Page/PageHeader.tsx +++ b/apps/meteor/client/components/Page/PageHeader.tsx @@ -19,11 +19,15 @@ const PageHeader: FC = ({ children = undefined, title, onClickB const { isMobile } = useLayout(); return ( - + { - + {t('Welcome_to', { Site_Name: workspaceName || 'Rocket.Chat' })} @@ -59,7 +59,7 @@ const DefaultHomePage = (): ReactElement => { {displayCustomBody && ( - + )} diff --git a/apps/meteor/client/views/home/HomepageGridItem.tsx b/apps/meteor/client/views/home/HomepageGridItem.tsx index e61784320153..95a28f7903d0 100644 --- a/apps/meteor/client/views/home/HomepageGridItem.tsx +++ b/apps/meteor/client/views/home/HomepageGridItem.tsx @@ -9,7 +9,7 @@ const HomepageGridItem = ({ children }: { children: ReactNode }): ReactElement = const isMedium = !breakpoints.includes('lg'); return ( - + {children} ); diff --git a/packages/ui-client/src/components/Card/CardFooterWrapper.tsx b/packages/ui-client/src/components/Card/CardFooterWrapper.tsx index 93001f2c1594..f0e7dc987c86 100644 --- a/packages/ui-client/src/components/Card/CardFooterWrapper.tsx +++ b/packages/ui-client/src/components/Card/CardFooterWrapper.tsx @@ -1,6 +1,6 @@ import { Box } from '@rocket.chat/fuselage'; import type { ReactElement, ReactNode } from 'react'; -const CardFooterWrapper = ({ children }: { children: ReactNode }): ReactElement => {children}; +const CardFooterWrapper = ({ children }: { children: ReactNode }): ReactElement => {children}; export default CardFooterWrapper; diff --git a/packages/ui-client/src/components/Card/CardTitle.tsx b/packages/ui-client/src/components/Card/CardTitle.tsx index 5448125f0cef..877350887bf3 100644 --- a/packages/ui-client/src/components/Card/CardTitle.tsx +++ b/packages/ui-client/src/components/Card/CardTitle.tsx @@ -2,7 +2,7 @@ import { Box } from '@rocket.chat/fuselage'; import type { FC } from 'react'; const CardTitle: FC = ({ children }) => ( - + {children} );