Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- Fixed Bitbucket Cloud pagination not working beyond first page. [#295](https://github.com/sourcebot-dev/sourcebot/issues/295)
- Fixed search bar line wrapping. [#501](https://github.com/sourcebot-dev/sourcebot/pull/501)

## [4.6.7] - 2025-09-08

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ const searchBarContainerVariants = cva(
{
variants: {
size: {
default: "h-10",
sm: "h-8"
default: "min-h-10",
sm: "min-h-8"
}
},
defaultVariants: {
Expand Down Expand Up @@ -168,6 +168,7 @@ export const SearchBar = ({
keymap.of(searchBarKeymap),
history(),
zoekt(),
EditorView.lineWrapping,
EditorView.updateListener.of(update => {
if (update.selectionSet) {
const selection = update.state.selection.main;
Expand Down Expand Up @@ -259,7 +260,7 @@ export const SearchBar = ({
/>
<CodeMirror
ref={editorRef}
className="overflow-x-auto w-full"
className="w-full"
placeholder={isHistorySearchEnabled ? "Filter history..." : "Search (/) through repos..."}
value={query}
onChange={(value) => {
Expand Down
Loading