From 3c11fd20677e93bd9cfc2d120950ba459d2531ec Mon Sep 17 00:00:00 2001 From: Philip Guzman III Date: Wed, 13 May 2026 21:06:03 -0700 Subject: [PATCH] Fix modal visibility using CSS class instead of HTML hidden attribute Replace hidden attribute + [hidden] CSS selector with a .modal-open class toggle. The hidden attribute approach was unreliable because CSS display:flex was winning the specificity battle. Class-based show/hide is explicit and not subject to attribute/cascade conflicts. Co-Authored-By: Claude Sonnet 4.6 --- admin/builder.php | 2 +- assets/css/builder.css | 8 +++++--- assets/js/builder.js | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/admin/builder.php b/admin/builder.php index 0ab7beb..ae09ef2 100644 --- a/admin/builder.php +++ b/admin/builder.php @@ -184,7 +184,7 @@ $page_title = $session ? 'Edit: ' . htmlspecialchars($session['name']) : 'Rosary -