From 9d2a5f88bdbc8fd04b6a6524b42b4c093599de14 Mon Sep 17 00:00:00 2001 From: ingawei <46611122+ingawei@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:25:56 -0800 Subject: [PATCH] search bar overlap with title bar (#3189) --- web/components/answers/answers-panel.tsx | 2 +- web/components/contract/contract-page.tsx | 2 +- web/next-env.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/components/answers/answers-panel.tsx b/web/components/answers/answers-panel.tsx index ad49fd746d..a79b201c81 100644 --- a/web/components/answers/answers-panel.tsx +++ b/web/components/answers/answers-panel.tsx @@ -254,7 +254,7 @@ export function AnswersPanel(props: { text={query} setText={setQuery} className={clsx( - 'bg-canvas-0 sticky z-[30]', + 'bg-canvas-0 sticky z-10', floatingSearchClassName ?? 'top-[48px]' )} sort={sort} diff --git a/web/components/contract/contract-page.tsx b/web/components/contract/contract-page.tsx index fffbca514f..e084481ba4 100644 --- a/web/components/contract/contract-page.tsx +++ b/web/components/contract/contract-page.tsx @@ -294,7 +294,7 @@ export function ContractPageContent(props: ContractParams) { >
// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. +// see https://nextjs.org/docs/basic-features/typescript for more information.