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
99
1010### Fixed
1111- 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 )
1213
1314## [ 4.6.7] - 2025-09-08
1415
Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ const searchBarContainerVariants = cva(
7878 {
7979 variants : {
8080 size : {
81- default : "h-10" ,
82- sm : "h-8"
81+ default : "min- h-10" ,
82+ sm : "min- h-8"
8383 }
8484 } ,
8585 defaultVariants : {
@@ -168,6 +168,7 @@ export const SearchBar = ({
168168 keymap . of ( searchBarKeymap ) ,
169169 history ( ) ,
170170 zoekt ( ) ,
171+ EditorView . lineWrapping ,
171172 EditorView . updateListener . of ( update => {
172173 if ( update . selectionSet ) {
173174 const selection = update . state . selection . main ;
@@ -259,7 +260,7 @@ export const SearchBar = ({
259260 />
260261 < CodeMirror
261262 ref = { editorRef }
262- className = "overflow-x-auto w-full"
263+ className = "w-full"
263264 placeholder = { isHistorySearchEnabled ? "Filter history..." : "Search (/) through repos..." }
264265 value = { query }
265266 onChange = { ( value ) => {
You can’t perform that action at this time.
0 commit comments