File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
packages/web/src/app/[domain]/components/searchBar Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Fixed
11
11
- Fixed Bitbucket Cloud pagination not working beyond first page. [ #295 ] ( https://github.com/sourcebot-dev/sourcebot/issues/295 )
12
+ - Fixed search bar line wrapping. [ #501 ] ( https://github.com/sourcebot-dev/sourcebot/pull/501 )
12
13
13
14
## [ 4.6.7] - 2025-09-08
14
15
Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ const searchBarContainerVariants = cva(
78
78
{
79
79
variants : {
80
80
size : {
81
- default : "h-10" ,
82
- sm : "h-8"
81
+ default : "min- h-10" ,
82
+ sm : "min- h-8"
83
83
}
84
84
} ,
85
85
defaultVariants : {
@@ -168,6 +168,7 @@ export const SearchBar = ({
168
168
keymap . of ( searchBarKeymap ) ,
169
169
history ( ) ,
170
170
zoekt ( ) ,
171
+ EditorView . lineWrapping ,
171
172
EditorView . updateListener . of ( update => {
172
173
if ( update . selectionSet ) {
173
174
const selection = update . state . selection . main ;
@@ -259,7 +260,7 @@ export const SearchBar = ({
259
260
/>
260
261
< CodeMirror
261
262
ref = { editorRef }
262
- className = "overflow-x-auto w-full"
263
+ className = "w-full"
263
264
placeholder = { isHistorySearchEnabled ? "Filter history..." : "Search (/) through repos..." }
264
265
value = { query }
265
266
onChange = { ( value ) => {
You can’t perform that action at this time.
0 commit comments