Fix modal auto-opening on builder page load

CSS display:flex on .modal-overlay overrides the HTML hidden attribute.
Add [hidden] selector to restore display:none when the attribute is present,
so the modal is correctly hidden on load and closeable via Cancel.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-13 21:01:31 -07:00
parent b894e22bdc
commit d4507ef4e2
+2
View File
@@ -461,6 +461,8 @@
/* ── Modal ───────────────────────────────────────────────────── */ /* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay[hidden] { display: none; }
.modal-overlay { .modal-overlay {
position: fixed; position: fixed;
inset: 0; inset: 0;