Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/staged/src/lib/features/timeline/TimelineRow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,10 @@
font-size: calc(var(--size-xs) - 1px);
font-weight: 600;
line-height: 1;
/* Pin the review badge onto its own compositing layer (same rationale as
.timeline-icon) so its icon stays put during the row's hover
background-color transition instead of re-snapping to fractional pixels. */
transform: translateZ(0);
}

/* Actions container — visible on row hover */
Expand All @@ -857,6 +861,12 @@
transition: opacity 0.1s;
}

/* Pin each action-button icon onto its own layer so it doesn't jiggle during
the container's opacity fade or the Button's transition-all on hover. */
.timeline-actions :global(svg) {
transform: translateZ(0);
}

.timeline-row:hover .timeline-actions,
.timeline-actions.always-visible {
opacity: 1;
Expand Down