Feed browser: Keep the delete error clear of text-only quotes #8

Merged
calcazar merged 1 commits from feature/feed-browser-delete-error-fit into develop 2026-10-20 10:45:04 -06:00
Owner

Task mk6umpwt1 (correction from gs4f2wcln).

What changed: when the "Could not delete the post." line is shown on a text-only slide, the quote box now ends above it (bottom 181px to 211px, via a slide-has-error class), and QuoteText re-fits when the error appears or disappears (the quote steps down or shows Read more). The error line has a fixed 18px height so the offset is exact. /dev/feed gets an own long text-only fixture and a "Delete error" switch to force the line.

Verified: tsc, eslint, vitest (278 pass), next build. Playwright at 390x844, dark and light: with the error, quote box bottom 633 vs error top 653 (no overlap), no overflow, Read more shown.

Task mk6umpwt1 (correction from gs4f2wcln). What changed: when the "Could not delete the post." line is shown on a text-only slide, the quote box now ends above it (bottom 181px to 211px, via a slide-has-error class), and QuoteText re-fits when the error appears or disappears (the quote steps down or shows Read more). The error line has a fixed 18px height so the offset is exact. /dev/feed gets an own long text-only fixture and a "Delete error" switch to force the line. Verified: tsc, eslint, vitest (278 pass), next build. Playwright at 390x844, dark and light: with the error, quote box bottom 633 vs error top 653 (no overlap), no overflow, Read more shown.
calcazar added 1 commit 2026-10-20 10:44:11 -06:00
calcazar merged commit bc35d288da into develop 2026-10-20 10:45:04 -06:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: calcazar/frontend-helper#8