The GitHub Actions job "Tests (AMD)" on airflow.git/fix-dashboard-alert-clamp 
has succeeded.
Run started by GitHub user pierrejeambrun (triggered by pierrejeambrun).

Head commit for run:
a7e2848ea4778f247a7d287183e308cd4e1bcac2 / pierrejeambrun 
<[email protected]>
Fix See more toggle on dashboard markdown alerts

The dashboard alert clamp relied on -webkit-line-clamp, which only counts
inline text lines. Alert text is rendered as markdown (a stack of block-level
headings, paragraphs and lists), so a long alert was never clamped and showed
no "See more", while a short single-line alert tripped the scrollHeight vs
clientHeight overflow check (inline content leaves scrollHeight a few px above
clientHeight even when nothing is clipped) and showed a "See more" that
revealed nothing.

Clamp by height and decide overflow against that height so the toggle appears
only when content is actually hidden, regardless of the markdown structure.

Report URL: https://github.com/apache/airflow/actions/runs/28018846891

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to