fix(ui): center native dialog modals in viewport (#129)
* fix(ui): center native dialog modals in viewport
Tailwind's preflight resets margin to 0, which strips the browser's
default margin:auto centering on <dialog> elements opened via
showModal(). Add m-auto to both native dialog components.
* refactor: use global CSS rule for dialog centering instead of per-component
Move the margin:auto fix from individual dialog classNames to a global
rule in globals.css. This ensures all current and future native <dialog>
elements are centered without needing per-component overrides.
authored by