Skip to content

Inconsistent padding/spacing in message-activity correlation components #30

@samueljklee

Description

@samueljklee

Summary

The message-activity correlation feature (#26) has inconsistent padding across hover, selection, and resting states. Some components have generous padding while others are flush or nearly flush against their content.

Observed Issues

When hovering or selecting messages/activities, the highlight backgrounds have uneven spacing:

  • Some highlighted blocks have ~4px padding, others have none
  • The gap-bridging technique (box-shadow) fills vertical gaps but doesn't address horizontal padding inconsistency
  • Turn separators, waypoints, activity indicators, and tool cards all use different padding scales

Padding Audit

Current values across correlation components:

Component Padding Notes
.turn-highlighted (hover wrapper) 4px Recently added, may need tuning
.turn-selected.turn-selected-border (selected wrapper) 4px 4px 4px 6px Recently added
.turn-selected-message (main panel selected) 6px 6px 6px 13px Asymmetric for border offset
.turn-separator 10px 0 6px No horizontal padding
.activity-waypoint 5px 10px
.activity-indicator 4px 0 1px Minimal vertical
.activity-breadcrumb 4px 12px
.text-block (base) 12px 16px
.tool-header 6px 10px
.thinking-header 6px 12px Different from tool-header
.activity-scroll (container) 10px 12px
.activity-panel-header 8px 14px

Desired Outcome

A consistent spacing system across all correlation components:

  • Wrapper padding should feel uniform when highlight/selection backgrounds are visible
  • Horizontal padding should be consistent between tool cards, thinking blocks, and text blocks within the same panel
  • The gap-bridging (box-shadow + ::before border extension) should account for any padding changes
  • Both dark and light themes should be verified

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions