Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overflow ui fix #589

Merged
merged 3 commits into from
May 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/app/questions/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default async function Home({

return (
<>
<div className="h-screen md:p-8 transition-colors duration-500">
<div className="h-max pb-4 md:p-8 transition-colors duration-500">
<div className="flex justify-between items-center mb-6 px-8 pt-3">
<div className="text-3xl dark:text-white text-black transition-colors duration-500">
<h1 className="text-black dark:text-white">Questions</h1>
Expand All @@ -159,7 +159,7 @@ export default async function Home({
</div>
<NewPostDialog />
<div className="md:mx-[15%] mx-auto md:p-10 ">
<div className="flex flex-col items-center p-4 dark:text-white">
<div className="flex flex-col items-center p-4 dark:text-white">
<div className="flex ">
<Search />
<div className="px-3">
Expand Down Expand Up @@ -215,7 +215,7 @@ export default async function Home({
</DropdownMenu>
</div>
</div>
<div className="w-full m-auto">
<div className="w-full overflow-y-scroll h-[500px] m-auto">
<div className="space-y-4 w-full">
{response?.data?.map((post) => (
<PostCard
Expand Down
Loading