Skip to content

Commit b68100a

Browse files
committed
Update heading margin
1 parent d72dd03 commit b68100a

File tree

1 file changed

+13
-15
lines changed
  • frontend/src/components/routes/event/EventDashboard

1 file changed

+13
-15
lines changed

frontend/src/components/routes/event/EventDashboard/index.tsx

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import classes from "./EventDashboard.module.scss";
1111
import {useGetEventStats} from "../../../../queries/useGetEventStats.ts";
1212
import {formatCurrency} from "../../../../utilites/currency.ts";
1313
import {formatDate} from "../../../../utilites/dates.ts";
14-
import {Button, Group, Skeleton} from "@mantine/core";
14+
import {Button, Skeleton} from "@mantine/core";
1515
import {useMediaQuery} from "@mantine/hooks";
1616
import {IconX} from "@tabler/icons-react";
1717
import {useGetAccount} from "../../../../queries/useGetAccount.ts";
@@ -90,21 +90,19 @@ export const EventDashboard = () => {
9090

9191
return (
9292
<PageBody>
93-
<Group justify="space-between" align="center" mb={'5px'}>
94-
<PageTitle style={{marginBottom: 0}}>
95-
{!isMobile && (
96-
<Trans>
97-
Welcome back{me?.first_name && ', ' + me?.first_name} 👋
98-
</Trans>
99-
)}
93+
<PageTitle style={{marginBottom: 0}}>
94+
{!isMobile && (
95+
<Trans>
96+
Welcome back{me?.first_name && ', ' + me?.first_name} 👋
97+
</Trans>
98+
)}
10099

101-
{isMobile && (
102-
<Trans>
103-
Hi {me?.first_name && me?.first_name} 👋
104-
</Trans>
105-
)}
106-
</PageTitle>
107-
</Group>
100+
{isMobile && (
101+
<Trans>
102+
Hi {me?.first_name && me?.first_name} 👋
103+
</Trans>
104+
)}
105+
</PageTitle>
108106

109107
{!event && <DashBoardSkeleton/>}
110108

0 commit comments

Comments
 (0)