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 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-04 16:00:49 -05:00
parent 547bff0d05
commit 8ef50b183e
5 changed files with 19 additions and 18 deletions
+5 -5
View File
@@ -5,7 +5,7 @@
<title>InstantAdPay: advertise and earn, locked in code</title>
<meta name="description" content="Real ad packages with instant on-chain settlement. Every purchase pays the sponsor line in the same transaction, verifiable by anyone on the live ledger.">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
<link rel="stylesheet" href="/assets/site.css?v=20260904k">
<link rel="stylesheet" href="/assets/site.css?v=20260904l">
</head>
<body>
@@ -398,9 +398,9 @@
</div>
</section>
<script src="/assets/common.js?v=20260904k"></script>
<script src="/assets/wallet.js?v=20260904k"></script>
<script src="/assets/home.js?v=20260904k"></script>
<script src="/assets/chat.js?v=20260904k"></script>
<script src="/assets/common.js?v=20260904l"></script>
<script src="/assets/wallet.js?v=20260904l"></script>
<script src="/assets/home.js?v=20260904l"></script>
<script src="/assets/chat.js?v=20260904l"></script>
</body>
</html>