Skip to content

Fix HP card summary truncation in expanded view#23

Merged
jgordijn merged 1 commit into
mainfrom
fix/hp-card-summary-truncation
Mar 13, 2026
Merged

Fix HP card summary truncation in expanded view#23
jgordijn merged 1 commit into
mainfrom
fix/hp-card-summary-truncation

Conversation

@jgordijn

Copy link
Copy Markdown
Owner

Problem

The High Priority (4★) entry card was cutting off the summary text with ... even when expanded. See screenshot — the summary ends with "by utilizing..." instead of showing the full text.

Cause

line-clamp-2 was applied to the summary <p> and fragment <div> inside the {#if expanded} block of the HP tier. This CSS utility truncates text to 2 lines with an ellipsis. The Featured (5★) tier did not have this class, which is why it showed full summaries.

Fix

Removed line-clamp-2 from both elements in the HP tier's expanded detail panel. The full summary and fragment content will now be visible when the card is expanded.

The High Priority (4★) card was truncating the summary text to 2
lines with ellipsis even when expanded, because line-clamp-2 was
applied inside the expanded detail panel. The Featured (5★) tier
did not have this issue. Removed line-clamp-2 from both the summary
paragraph and fragment content div in the HP tier.
@jgordijn jgordijn enabled auto-merge (squash) March 13, 2026 21:41
@jgordijn jgordijn merged commit 3e846d8 into main Mar 13, 2026
1 check passed
@jgordijn jgordijn deleted the fix/hp-card-summary-truncation branch March 13, 2026 21:41
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