# AlertDialog

## 2026-06-21 — Anchor to top (sticky-top) instead of vertically centred

**Prompted by:** Hellen (design team)

### What changed
- `AlertDialogContent` now anchors near the top of the viewport (`top-4`,
  `translate-y-0`) instead of being vertically centred (`top-[50%]`,
  `translate-y-[-50%]`). Horizontal centring is unchanged.

### Why
- Match `DialogContent`'s default `align="top"` so every WealthX dialog —
  regular and alert/confirm — follows the same sticky-top placement convention.

### Affected tokens / files
- `packages/shadcn/src/components/ui/alert-dialog.tsx`
