File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -435,7 +435,8 @@ export function SessionLocation(props: {
435435 </ Menu . Portal >
436436 </ Menu >
437437 < Show when = { props . trailing } >
438- < SessionHeaderSeparator gap = { 8 } before = { 6 } after = { 4 } />
438+ { /* A child's lineage follows, whose buttons pad 6px; a title pads 4px. */ }
439+ < SessionHeaderSeparator gap = { 8 } before = { 6 } after = { props . compact ? 6 : 4 } />
439440 </ Show >
440441 </ >
441442 )
@@ -499,21 +500,20 @@ export function SessionAncestorTrail(props: {
499500 data-slot = { ancestor . direct ? "session-title-parent" : "session-title-ancestor" }
500501 data-session-id = { ancestor . id }
501502 title = { ancestor . title }
502- class = "max-w-[min(200px,40vw)] shrink-0 truncate text-[13px] font-[530] leading-4 tracking-[-0.04px] text-v2-text-text-faint transition-colors hover:text-v2-text-text-muted"
503- classList = { { "ps-1" : index ( ) === 0 } }
503+ class = "h-7 max-w-[min(200px,40vw)] shrink-0 truncate rounded-[6px] px-1.5 text-[13px] font-[530] leading-4 tracking-[-0.04px] text-v2-text-text-faint transition-colors hover:bg-v2-overlay-simple-overlay-hover hover:text-v2-text-text-muted focus-visible:bg-v2-overlay-simple-overlay-hover focus-visible:text-v2-text-text-muted focus-visible:outline-none"
504504 onClick = { ( ) => open ( props . sessionID , ancestor . id ) }
505505 >
506506 < bdi dir = "auto" > { ancestor . title } </ bdi >
507507 </ button >
508508 < Show when = { index ( ) < ancestors ( ) . length - 1 } >
509- < SessionHeaderSeparator gap = { 8 } before = { 0 } after = { 0 } />
509+ < SessionHeaderSeparator gap = { 8 } before = { 6 } after = { 6 } />
510510 </ Show >
511511 </ >
512512 ) }
513513 </ For >
514514 </ div >
515515 < Show when = { props . trailing } >
516- < SessionHeaderSeparator gap = { 8 } before = { 0 } after = { 4 } />
516+ < SessionHeaderSeparator gap = { 8 } before = { 6 } after = { 4 } />
517517 </ Show >
518518 </ div >
519519 )
You can’t perform that action at this time.
0 commit comments