Skip to content

fix: comparison header overflows column with long scoped package names #2802

Description

@rohitg00

On the compare page, header names like @agentmemory/agentmemory render wider than the column and bleed into neighbouring columns. The left side gets hidden behind the sticky label cell, and the right side overlaps the next package header.

Repro: https://npmx.dev/compare?packages=@agentmemory/agentmemory,claude-mem,supermemory,mem0ai&layout=split

Screenshot (@age is missing from column 1 and c from claude-mem):

overlap

Looking at app/components/Compare/ComparisonGrid.vue, the <LinkBase> inside each header cell has flex min-w-0 flex-col items-center text-center text-sm but no flex-1 / w-full. The parent flex uses justify-center, so the link sizes to its intrinsic content width and is free to grow past the grid track. The inner <span class="min-w-0 break-words line-clamp-1"> then has nothing to clamp against, so the text never wraps or truncates.

Happy to send a PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions