Skip to content

Commit

Permalink
Merge pull request #113 from C0dewithLokesh/fix/overflow-card-Homepage
Browse files Browse the repository at this point in the history
fix Overflow course card inssue on Homepage
  • Loading branch information
hkirat authored Feb 25, 2024
2 parents 0313b08 + 57aca65 commit 4f2c2b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/app/(marketing)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import React from 'react';

const MarketingLayout = ({ children }: { children: React.ReactNode }) => {
return (
<div>
<main className="pt-36 pb-20">{children}</main>
</div>
<main className="pt-36 pb-20 h-full overflow-y-auto no-scrollbar">
{children}
</main>
);
};

Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default async function Home() {

if (session?.user) {
return (
<main className="max-w-screen-xl flex-col flex text-lg mx-auto pt-10 pb-6">
<main className="max-w-screen-xl flex-col flex text-lg mx-auto pt-10 pb-6 h-full overflow-y-auto no-scrollbar">
<div className="px-6 max-w-2xl antialiased">
<h1
className={cn(
Expand Down

0 comments on commit 4f2c2b7

Please sign in to comment.