Skip to content

Commit e9de210

Browse files
authored
(apps-web)[fix]: Center Dashboard Data on Toggle FullWidth Mode (#3371)
1 parent aab335d commit e9de210

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

apps/web/app/[locale]/page-component.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useOrganizationTeams } from '@app/hooks';
66
import { clsxm } from '@app/utils';
77
import NoTeam from '@components/pages/main/no-team';
88
import { withAuthentication } from 'lib/app/authenticator';
9-
import { Breadcrumb, Card } from 'lib/components';
9+
import { Breadcrumb, Card, Container } from 'lib/components';
1010
import { AuthUserTaskInput, TeamInvitations, TeamMembers, Timer, UnverifiedEmail } from 'lib/features';
1111
import { MainLayout } from 'lib/layout';
1212
import { IssuesView } from '@app/constants';
@@ -98,7 +98,11 @@ function MainPage() {
9898
footerClassName={clsxm('')}
9999
>
100100
<ChatwootWidget />
101-
<div className="h-full ">{isTeamMember ? <TeamMembers kanbanView={view} /> : <NoTeam />}</div>
101+
<div className="h-full ">{isTeamMember ?
102+
<Container fullWidth={fullWidth} className='mx-auto' >
103+
<TeamMembers kanbanView={view} />
104+
</Container>
105+
: <NoTeam />}</div>
102106
</MainLayout>
103107
</div>
104108
<Analytics />

0 commit comments

Comments
 (0)