Skip to content

Commit

Permalink
(apps-web)[fix]: Center Dashboard Data on Toggle FullWidth Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric921 committed Nov 26, 2024
1 parent 528362c commit 21617c0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/web/app/[locale]/page-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useOrganizationTeams } from '@app/hooks';
import { clsxm } from '@app/utils';
import NoTeam from '@components/pages/main/no-team';
import { withAuthentication } from 'lib/app/authenticator';
import { Breadcrumb, Card } from 'lib/components';
import { Breadcrumb, Card, Container } from 'lib/components';
import { AuthUserTaskInput, TeamInvitations, TeamMembers, Timer, UnverifiedEmail } from 'lib/features';
import { MainLayout } from 'lib/layout';
import { IssuesView } from '@app/constants';
Expand Down Expand Up @@ -98,7 +98,11 @@ function MainPage() {
footerClassName={clsxm('')}
>
<ChatwootWidget />
<div className="h-full ">{isTeamMember ? <TeamMembers kanbanView={view} /> : <NoTeam />}</div>
<div className="h-full ">{isTeamMember ?
<Container fullWidth={fullWidth} className='mx-auto' >
<TeamMembers kanbanView={view} />
</Container>
: <NoTeam />}</div>
</MainLayout>
</div>
<Analytics />
Expand Down

0 comments on commit 21617c0

Please sign in to comment.