Compare commits
No commits in common. "369f21a9db66e4460b0e65374bacdb5e13a2e4da" and "258deda01f9c3e07029062761c755d04256186c0" have entirely different histories.
369f21a9db
...
258deda01f
2966
backend/server.log
Normal file
2966
backend/server.log
Normal file
File diff suppressed because it is too large
Load Diff
@ -93,16 +93,13 @@ export function HeaderSearch({ defaultDataSource }: { defaultDataSource?: string
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{open && results.length > 0 && (
|
{open && results.length > 0 && (
|
||||||
<div className="absolute top-full mt-2 left-0 w-full bg-popover text-popover-foreground rounded-md border shadow-md z-[90] overflow-hidden max-h-[400px] overflow-y-auto">
|
<div className="absolute top-full mt-2 left-0 w-full bg-popover text-popover-foreground rounded-md border shadow-md z-[80] overflow-hidden max-h-[400px] overflow-y-auto">
|
||||||
<div className="p-1">
|
<div className="p-1">
|
||||||
{results.map((result) => (
|
{results.map((result) => (
|
||||||
<button
|
<button
|
||||||
key={`${result.market}-${result.symbol}`}
|
key={`${result.market}-${result.symbol}`}
|
||||||
className="w-full flex items-center justify-between p-2 hover:bg-accent hover:text-accent-foreground rounded-sm text-sm text-left transition-colors"
|
className="w-full flex items-center justify-between p-2 hover:bg-accent hover:text-accent-foreground rounded-sm text-sm text-left transition-colors"
|
||||||
onMouseDown={(e) => {
|
onClick={() => handleSelect(result)}
|
||||||
e.preventDefault() // Prevent focus loss
|
|
||||||
handleSelect(result)
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<div className="flex flex-col overflow-hidden">
|
<div className="flex flex-col overflow-hidden">
|
||||||
<span className="font-medium truncate">{result.company_name}</span>
|
<span className="font-medium truncate">{result.company_name}</span>
|
||||||
|
|||||||
@ -82,7 +82,7 @@ export function NavHeader() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<header className="border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 z-[60] relative">
|
<header className="border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 z-[60]">
|
||||||
<div className="flex h-14 items-center gap-4 px-6 lg:h-[60px] w-full px-8"> {/* Adjusted constraint */}
|
<div className="flex h-14 items-center gap-4 px-6 lg:h-[60px] w-full px-8"> {/* Adjusted constraint */}
|
||||||
<Link className="flex items-center gap-2 font-semibold min-w-[140px]" href="/">
|
<Link className="flex items-center gap-2 font-semibold min-w-[140px]" href="/">
|
||||||
<MonitorPlay className="h-6 w-6" />
|
<MonitorPlay className="h-6 w-6" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user