@@ -400,45 +400,43 @@ export function WorkflowSearchReplace() {
400400 </ div >
401401
402402 < div className = 'grid grid-cols-[2rem_minmax(0,1fr)_2rem_2rem] items-start gap-1.5' >
403- < div className = 'col-span-4 grid grid-cols-subgrid items-center' >
404- < Button
405- variant = 'ghost'
406- className = 'h-8 w-8 p-0'
407- aria-label = { isReplaceExpanded ? 'Hide replace controls' : 'Show replace controls' }
408- onClick = { ( ) => setIsReplaceExpanded ( ( expanded ) => ! expanded ) }
409- >
410- < ChevronRight
411- className = { `h-4 w-4 transition-transform ${ isReplaceExpanded ? 'rotate-90' : '' } ` }
412- />
413- </ Button >
414- < Input
415- ref = { searchInputRef }
416- value = { query }
417- placeholder = 'Search'
418- onKeyDown = { ( event ) => {
419- if ( event . key !== 'Enter' ) return
420- event . preventDefault ( )
421- handleMoveActiveMatch ( event . shiftKey ? - 1 : 1 )
422- } }
423- onChange = { ( event ) => setQuery ( event . target . value ) }
403+ < Button
404+ variant = 'ghost'
405+ className = 'h-8 w-8 p-0'
406+ aria-label = { isReplaceExpanded ? 'Hide replace controls' : 'Show replace controls' }
407+ onClick = { ( ) => setIsReplaceExpanded ( ( expanded ) => ! expanded ) }
408+ >
409+ < ChevronRight
410+ className = { `h-4 w-4 transition-transform ${ isReplaceExpanded ? 'rotate-90' : '' } ` }
424411 />
425- < Button
426- variant = 'ghost'
427- className = 'h-8 w-8 p-0'
428- disabled = { hydratedMatches . length === 0 }
429- onClick = { ( ) => handleMoveActiveMatch ( - 1 ) }
430- >
431- < ChevronUp className = 'h-4 w-4' />
432- </ Button >
433- < Button
434- variant = 'ghost'
435- className = 'h-8 w-8 p-0'
436- disabled = { hydratedMatches . length === 0 }
437- onClick = { ( ) => handleMoveActiveMatch ( 1 ) }
438- >
439- < ChevronDown className = 'h-4 w-4' />
440- </ Button >
441- </ div >
412+ </ Button >
413+ < Input
414+ ref = { searchInputRef }
415+ value = { query }
416+ placeholder = 'Search'
417+ onKeyDown = { ( event ) => {
418+ if ( event . key !== 'Enter' ) return
419+ event . preventDefault ( )
420+ handleMoveActiveMatch ( event . shiftKey ? - 1 : 1 )
421+ } }
422+ onChange = { ( event ) => setQuery ( event . target . value ) }
423+ />
424+ < Button
425+ variant = 'ghost'
426+ className = 'h-8 w-8 p-0'
427+ disabled = { hydratedMatches . length === 0 }
428+ onClick = { ( ) => handleMoveActiveMatch ( - 1 ) }
429+ >
430+ < ChevronUp className = 'h-4 w-4' />
431+ </ Button >
432+ < Button
433+ variant = 'ghost'
434+ className = 'h-8 w-8 p-0'
435+ disabled = { hydratedMatches . length === 0 }
436+ onClick = { ( ) => handleMoveActiveMatch ( 1 ) }
437+ >
438+ < ChevronDown className = 'h-4 w-4' />
439+ </ Button >
442440
443441 { isReplaceExpanded && (
444442 < div className = 'col-start-2 col-end-5' >
0 commit comments