Skip to content

fix(list): align deals like button with its column header (backport #2602) - #2603

Open
mergify[bot] wants to merge 1 commit into
main-hotfixfrom
mergify/bp/main-hotfix/pr-2602
Open

fix(list): align deals like button with its column header (backport #2602)#2603
mergify[bot] wants to merge 1 commit into
main-hotfixfrom
mergify/bp/main-hotfix/pr-2602

Conversation

@mergify

@mergify mergify Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

The like (heart) column in the Deals list was misaligned — the row hearts sat ~8px left of the column-header heart. Every other list view (Leads, Contacts, Call Logs, Tasks, Organizations) was already correct.

Cause

DealsListView rendered the _liked_by heart in the ListRowItem #prefix slot. That left an empty label as a second flex item in #default; with the column right-aligned (justify-end + gap-2), the empty label pinned to the cell's right edge and the gap pushed the heart ~8px left. The other views render the heart in #default, so it's the only item in the cell and stays flush-right.

Fix

Move the heart from #prefix to #default in DealsListView, matching the other list views.

Testing

Measured the header vs. row heart centers in the rendered deals list:

  • Before: 8px offset (header heart flush right at the cell edge, row heart 8px inside).
  • After: 0 — both flush at the right edge, centers aligned.

Before

image

After

image
This is an automatic backport of pull request #2602 done by [Mergify](https://mergify.com).

The deals list rendered the `_liked_by` heart in the ListRowItem `#prefix`
slot, which left an empty label as a second flex item in `#default`. With
the column right-aligned (`justify-end` + `gap-2`), that empty label pinned
to the cell's right edge and the gap pushed the heart ~8px left of the
column-header heart.

Move the heart to `#default` — matching every other list view (Leads,
Contacts, Call Logs, Tasks, Organizations) — so it's the sole item in the
cell and stays flush-right, aligned with the header.

(cherry picked from commit ce02333)
@mergify

mergify Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant