Skip to content

Commit f70976d

Browse files
committed
Fix margin inside containers
1 parent ad233dd commit f70976d

File tree

22 files changed

+22
-22
lines changed

22 files changed

+22
-22
lines changed

src/app/(authenticated)/companies/[id]/connections/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function CompanyConnections({
2020
}
2121

2222
return (
23-
<div className="container m-auto h-full">
23+
<div className="container mx-auto h-full">
2424
<List title="Company connections">
2525
{connections.map((u) => (
2626
<UserTile key={u.id} user={u} />

src/app/(authenticated)/companies/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default async function Company({ params }: { params: CompanyParams }) {
4747
const companyConnections = await CompanyService.getConnections(companyID);
4848

4949
return (
50-
<div className="container m-auto h-full">
50+
<div className="container mx-auto h-full">
5151
<div className="flex flex-col items-center gap-y-2 p-4 text-center">
5252
<h2 className="text-2xl font-bold">{company.name}</h2>
5353
<Image

src/app/(authenticated)/companies/[id]/promote/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default async function CompanyPromote({
2323
const session = await getServerSession(authOptions);
2424

2525
return (
26-
<div className="container m-auto h-full">
26+
<div className="container mx-auto h-full">
2727
<CompanyPromoteScanner
2828
company={company}
2929
cannonToken={session!.cannonToken}

src/app/(authenticated)/companies/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default async function Companies() {
1212
companies = companies.sort((a, b) => a.name.localeCompare(b.name));
1313

1414
return (
15-
<div className="container m-auto h-full">
15+
<div className="container mx-auto h-full">
1616
<CompaniesList companies={companies} />
1717
</div>
1818
);

src/app/(authenticated)/home/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default async function Home() {
3636
: [];
3737

3838
return (
39-
<div className="container m-auto h-full">
39+
<div className="container mx-auto h-full">
4040
{/* Upcoming Sessions */}
4141
<List title="Next Up" link="/schedule?day=today" linkText="See all">
4242
{upcomingSessions.length > 0 ? (

src/app/(authenticated)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default async function AuthenticatedLayout({
1515
return (
1616
<div className="min-h-screen text-white flex flex-col">
1717
<Toolbar />
18-
<div className="flex-1 bg-gray-100 text-black pb-navbar">{children}</div>
18+
<div className="flex-1 bg-gray-100 text-black pb-navbar flex flex-col">{children}</div>
1919
<BottomNavbar />
2020
</div>
2121
);

src/app/(authenticated)/prizes/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default async function Prizes() {
3737
}
3838

3939
return (
40-
<div className="container m-auto h-full">
40+
<div className="container mx-auto h-full">
4141
<div className="flex flex-col items-start gap-y-2 p-4 text-start text-sm">
4242
<h1 className="text-2xl font-bold">Prizes</h1>
4343
{user && isCompany(user.role) && (

src/app/(authenticated)/profile/achievements/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default async function Achievements() {
3131
).sort() as AchievementKind[];
3232

3333
return (
34-
<div className="container m-auto h-full">
34+
<div className="container mx-auto h-full">
3535
<div className="flex flex-col items-start gap-y-2 p-4 text-start text-sm">
3636
<h1 className="text-2xl font-bold">Achievements</h1>
3737
<span className="text-gray-600">

src/app/(authenticated)/profile/connections/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default async function Connections() {
88
const user: User | null = await UserService.getMe(session!.cannonToken);
99

1010
return (
11-
<div className="container m-auto h-full">
11+
<div className="container mx-auto h-full">
1212
<List title="Connections"></List>
1313
</div>
1414
);

src/app/(authenticated)/profile/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default async function Profile() {
3030
);
3131

3232
return (
33-
<div className="container m-auto h-full">
33+
<div className="container mx-auto h-full">
3434
<ProfileHeader user={user} />
3535
<div className="px-4 py-2">
3636
<Link

0 commit comments

Comments
 (0)