Skip to content

Commit 543d35e

Browse files
Merge branch 'main' into brendan/gitattributes-language-detection-SOU-766
2 parents b24d813 + abcb180 commit 543d35e

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
1011
- Added support for `.gitattributes` `linguist-language` overrides in the file viewer ([#1048](https://github.com/sourcebot-dev/sourcebot/pull/1048))
1112

13+
### Fixed
14+
- Fixed Ask GitHub landing page chat box placement to be centered on the page instead of at the bottom. [#1046](https://github.com/sourcebot-dev/sourcebot/pull/1046)
15+
1216
## [4.16.2] - 2026-03-25
1317

1418
### Fixed

packages/web/src/app/[domain]/askgh/[owner]/[repo]/components/landingPage.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ export const LandingPage = ({
4646
const displayName = repoDisplayName ?? repoName;
4747

4848
return (
49-
<div className="min-h-screen flex flex-col justify-between p-4">
50-
{/* Center Section - Repository Info */}
51-
<div className="flex-1 flex items-center justify-center">
49+
<div className="min-h-screen flex flex-col items-center justify-center p-4">
50+
{/* Centered Content - Repository Info + ChatBox */}
51+
<div className="flex flex-col items-center gap-8 w-full max-w-[800px]">
52+
{/* Repository Info */}
5253
<div className="flex items-center gap-4">
5354
{imageSrc && (
5455
<Image
@@ -62,11 +63,9 @@ export const LandingPage = ({
6263
)}
6364
<h1 className="text-2xl font-bold">{displayName}</h1>
6465
</div>
65-
</div>
6666

67-
{/* Bottom Section - ChatBox */}
68-
<div className="flex justify-center pb-8">
69-
<div className="w-full max-w-[800px]">
67+
{/* ChatBox */}
68+
<div className="w-full">
7069
<div className="border rounded-md w-full shadow-sm">
7170
<ChatBox
7271
onSubmit={(children) => {

0 commit comments

Comments
 (0)