Commit Graph
3 Commits
Author SHA1 Message Date
IsoumyajitandCursor 0195d405f7 AAE-48227 keep adf-label class on mat-labels to preserve downstream styling
The mat-label refactor dropped the .adf-label class from several widget labels.
That class is a public styling hook: consuming apps (e.g. hxp studio form editor)
target it to set label font, line-height and sizing, so removing it silently
changed label metrics and form field spacing downstream.

Keep class="adf-label" on the mat-labels alongside the new data-automation-id
hooks, and restore the SCSS selectors that had been renamed to work around the
missing class. Unit tests already select labels via data-automation-id, so they
are unaffected.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 00:39:18 +05:30
IsoumyajitandCursor 91c5ca97e0 AAE-48227 fix label clipping caused by stale positioning styles
Remove leftover top/line-height overrides in multiline-text, display-external-property
and start-task (people widget) styles that were written for the old custom <label>
implementation. These conflicted with Angular Material's native mat-label floating/notch
positioning, causing the label text to be clipped once the widgets were migrated to
mat-label.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 17:07:15 +05:30
Isoumyajit 008d8ab6e2 AAE-48227 replacing custom labels with mat-labels 2026-09-08 17:07:15 +05:30