mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
Fix scrolling issue with code results & preview
This commit is contained in:
parent
be1bbfc16e
commit
e287c8e02c
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ export default function Home() {
|
||||||
// Currently we do not re-query.
|
// Currently we do not re-query.
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="h-screen overflow-clip">
|
<main className="flex flex-col h-screen overflow-clip">
|
||||||
{/* TopBar */}
|
{/* TopBar */}
|
||||||
<div className="sticky top-0 left-0 right-0 z-10">
|
<div className="sticky top-0 left-0 right-0 z-10">
|
||||||
<div className="flex flex-row justify-between items-center py-1.5 px-3 gap-4">
|
<div className="flex flex-row justify-between items-center py-1.5 px-3 gap-4">
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ export const SearchResults = ({
|
||||||
onOpenFileMatch,
|
onOpenFileMatch,
|
||||||
}: SearchResultsProps) => {
|
}: SearchResultsProps) => {
|
||||||
return (
|
return (
|
||||||
<ScrollArea className="h-full overflow-y-auto">
|
<ScrollArea className="h-full">
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
{fileMatches.map((match, index) => (
|
{fileMatches.map((match, index) => (
|
||||||
<FileMatch
|
<FileMatch
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue