Skip to content

Commit

Permalink
refactor: use flexbox instead of grid for the channel page
Browse files Browse the repository at this point in the history
  • Loading branch information
frolleks committed May 17, 2024
1 parent 9c1d7b9 commit 5605705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/user/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default async function User({ params }: { params: { slug: string } }) {
<div className="flex-shrink-0">
<HamburgerMenu />
</div>
<div className="grid grid-cols-1 auto-rows-auto w-full max-h-[calc(100vh-64px)]">
<div className="flex flex-col w-full max-h-[calc(100vh-64px)]">
<ChannelCard id={params.slug} data={data} />
<div className="p-3 px-12 overflow-y-auto">
<p className="text-xl mb-1.5 font-semibold">Videos</p>
Expand Down

0 comments on commit 5605705

Please sign in to comment.