From efc89ebd1d0a2231a9bd3d1c4681312d1867ea7e Mon Sep 17 00:00:00 2001 From: Brendan Kellam Date: Thu, 19 Feb 2026 14:52:42 -0800 Subject: [PATCH 1/2] fix(web): Fix search bar not taking full width in TopBar The right section of the TopBar had flex-1 unconditionally, splitting the bar into two equal halves. The SearchBar could only fill the left 50%, leaving a large empty gap. Now the right section uses shrink-0 when no centerContent is present, letting the SearchBar fill the remaining width. Co-Authored-By: Claude Sonnet 4.6 --- packages/web/src/app/[domain]/components/topBar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/src/app/[domain]/components/topBar.tsx b/packages/web/src/app/[domain]/components/topBar.tsx index 403f1ae96..6c3dc2b62 100644 --- a/packages/web/src/app/[domain]/components/topBar.tsx +++ b/packages/web/src/app/[domain]/components/topBar.tsx @@ -12,6 +12,7 @@ import { LogIn } from "lucide-react"; import { useRouter } from "next/navigation"; import { AppearanceDropdownMenu } from "./appearanceDropdownMenu"; import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"; +import { cn } from "@/lib/utils"; interface TopBarProps { domain: string; @@ -58,7 +59,7 @@ export const TopBar = ({ {centerContent} )} -
+
{actions} {session ? ( Date: Thu, 19 Feb 2026 14:53:01 -0800 Subject: [PATCH 2/2] chore: Update CHANGELOG for #909 Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34d5415d6..9f3a4b21a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed `og:image` URL resolving to `localhost` instead of the public domain when the app is deployed behind a reverse proxy. [#908](https://github.com/sourcebot-dev/sourcebot/pull/908) +- Fixed search bar not taking the full width on the search results and browse pages. [#909](https://github.com/sourcebot-dev/sourcebot/pull/909) ## [4.11.3] - 2026-02-19