From 8ef50b183ece4ec2e3a0becafa7e278fe2dbdfdb Mon Sep 17 00:00:00 2001 From: martbost Date: Fri, 4 Sep 2026 16:00:49 -0500 Subject: [PATCH] Fix: chat panel now starts minimized and collapses The panel's display:flex overrode the browser's default [hidden] styling, so it rendered open from first paint and the close button was inert. Added a global [hidden]{display:none!important} guard so the attribute always wins. Browser-verified: loads minimized, opens, closes, toggles. Assets v=20260904l. Co-Authored-By: Claude Fable 5 --- public/assets/site.css | 1 + public/contract.html | 8 ++++---- public/index.html | 10 +++++----- public/ledger.html | 8 ++++---- public/my.html | 10 +++++----- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/public/assets/site.css b/public/assets/site.css index be195d8..db83cc0 100644 --- a/public/assets/site.css +++ b/public/assets/site.css @@ -14,6 +14,7 @@ --radius:18px; } *{box-sizing:border-box} +[hidden]{display:none!important} /* beats any display: set by a class (chat panel bug) */ html{scroll-behavior:smooth} body{margin:0;background:var(--ground);color:var(--ink);font:16px/1.65 "Segoe UI",system-ui,sans-serif;overflow-x:hidden} /* topo-contour ground texture, very faint */ diff --git a/public/contract.html b/public/contract.html index 98aa52d..2e1e622 100644 --- a/public/contract.html +++ b/public/contract.html @@ -5,7 +5,7 @@ The contract | InstantAdPay - +
@@ -129,8 +129,8 @@
Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford.
- - - + + + diff --git a/public/index.html b/public/index.html index 1295f20..40eecd5 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ InstantAdPay: advertise and earn, locked in code - + @@ -398,9 +398,9 @@ - - - - + + + + diff --git a/public/ledger.html b/public/ledger.html index 9fea010..31a5099 100644 --- a/public/ledger.html +++ b/public/ledger.html @@ -5,7 +5,7 @@ Live ledger | InstantAdPay - +
@@ -25,8 +25,8 @@
InstantAdPay · how it works · contract source ↗
- - - + + + diff --git a/public/my.html b/public/my.html index 2c9d023..de39277 100644 --- a/public/my.html +++ b/public/my.html @@ -4,7 +4,7 @@ My account | InstantAdPay - +
@@ -160,9 +160,9 @@
- - - - + + + +