Skip to content

Commit

Permalink
[ui] Adjust table width and fix overflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hhssb committed Nov 7, 2024
1 parent b032ed1 commit ee802e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function RootLayout({
<html lang="en" className="h-full bg-white">
<body
className={cn(
"grid h-full grid-rows-[auto_1fr_auto] font-sans antialiased",
"grid min-h-full grid-rows-[auto_1fr_auto] font-sans antialiased",
inter.className
)}
>
Expand Down
4 changes: 3 additions & 1 deletion app/src/app/search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export default async function SearchPage({ searchParams: initialUrlSearchParamsD
allDataSources={dataSources ?? []}
initialUrlSearchParamsDict={initialUrlSearchParamsDict}
>
<main className="mx-auto flex w-full flex-col py-8 md:py-12 px-4">
<main className="overflow-x-hidden">
<div className="mx-auto flex flex-col w-full max-w-fit py-8 md:py-12 px-8">
<h1 className="text-center mb-6 text-xl lg:mb-12 lg:text-2xl">
Search for statistical units
</h1>
Expand All @@ -79,6 +80,7 @@ export default async function SearchPage({ searchParams: initialUrlSearchParamsD
<Selection />
</section>
</SelectionProvider>
</div>
</main>
</SearchResults>
);
Expand Down

0 comments on commit ee802e8

Please sign in to comment.