mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 01:56:16 -08:00
The custom .apd-head was getting visually orphaned from the rest of the dialog body: zero horizontal padding so the title sat flush against the dialog edge (cards inside mat-dialog-content are inset by 24px), plus a ~44px vertical gap above the title even though the head reported padding: 0. The gap was Material's .mdc-dialog__title::before — a 40px-tall invisible inline element used to baseline-align dialog titles to a grid. Useful for single-line titles, hostile to a two-line head with explicit subtitle. Set .apd-head padding to 20px 24px 4px so it shares the dialog content's 24px horizontal rhythm, then suppress the ::before ghost. Title now sits 20px from the dialog top edge with the same left inset as the method cards and the form fields below. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>