File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -311,23 +311,21 @@ export function SessionHeader() {
311311 platform,
312312 } )
313313
314- const leftMount = createMemo (
315- ( ) => document . getElementById ( "opencode-titlebar-left" ) ?? document . getElementById ( "opencode-titlebar-center" ) ,
316- )
314+ const centerMount = createMemo ( ( ) => document . getElementById ( "opencode-titlebar-center" ) )
317315 const rightMount = createMemo ( ( ) => document . getElementById ( "opencode-titlebar-right" ) )
318316
319317 return (
320318 < >
321- < Show when = { leftMount ( ) } >
319+ < Show when = { centerMount ( ) } >
322320 { ( mount ) => (
323321 < Portal mount = { mount ( ) } >
324322 < button
325323 type = "button"
326- class = "hidden md:flex w-[320px ] max-w-full min-w-0 h-[24px] px-2 pl-1 .5 items-center gap-2 justify-between rounded-md border border-border-base bg-surface-panel transition-colors cursor-default hover:bg-surface-raised-base-hover focus-visible:bg-surface-raised-base-hover active:bg-surface-raised-base-active"
324+ class = "hidden md:flex w-[240px ] max-w-full min-w-0 h-[24px] pl-0 .5 pr-2 items-center gap-2 justify-between rounded-md border border-border-weak -base bg-surface-panel transition-colors cursor-default hover:bg-surface-raised-base-hover focus-visible:bg-surface-raised-base-hover active:bg-surface-raised-base-active"
327325 onClick = { ( ) => command . trigger ( "file.open" ) }
328326 aria-label = { language . t ( "session.header.searchFiles" ) }
329327 >
330- < div class = "flex min-w-0 flex-1 items-center gap-2 overflow-visible" >
328+ < div class = "flex min-w-0 flex-1 items-center gap-1.5 overflow-visible" >
331329 < Icon name = "magnifying-glass" size = "normal" class = "icon-base shrink-0" />
332330 < span class = "flex-1 min-w-0 text-12-regular text-text-weak truncate h-4.5 flex items-center" >
333331 { language . t ( "session.header.search.placeholder" , { project : name ( ) } ) }
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ export function Titlebar() {
267267 < div id = "opencode-titlebar-left" class = "flex items-center gap-3 min-w-0 px-2" />
268268 </ div >
269269
270- < div class = "min-w-0 flex items-center justify-center pointer-events-none lg:absolute lg:inset-0 lg:flex lg:items-center lg:justify-center " >
270+ < div class = "min-w-0 flex items-center justify-center pointer-events-none" >
271271 < div id = "opencode-titlebar-center" class = "pointer-events-auto w-full min-w-0 flex justify-center lg:w-fit" />
272272 </ div >
273273
Original file line number Diff line number Diff line change 99 background : var (--surface-base );
1010 box-shadow : var (--shadow-xxs-border );
1111
12- /* text-12-medium */
12+ /* text-12-regular */
1313 font-family : var (--font-family-sans );
1414 font-size : 12px ;
15- font-weight : var (--font-weight-medium );
15+ font-weight : var (--font-weight-regular );
1616 line-height : 1 ;
1717 color : var (--text-weak );
1818}
You can’t perform that action at this time.
0 commit comments