Skip to content

Commit

Permalink
search bar overlap with title bar (#3189)
Browse files Browse the repository at this point in the history
  • Loading branch information
ingawei authored Dec 5, 2024
1 parent a2345fd commit 9d2a5f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/components/answers/answers-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion web/components/contract/contract-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export function ContractPageContent(props: ContractParams) {
>
<div
className={clsx(
'sticky z-10 flex items-end',
'sticky z-20 flex items-end',
!coverImageUrl
? 'bg-canvas-0 top-0 w-full'
: 'top-[-92px] h-[140px]'
Expand Down
2 changes: 1 addition & 1 deletion web/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// 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.

0 comments on commit 9d2a5f8

Please sign in to comment.