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
+4 -4
View File
@@ -5,7 +5,7 @@
<title>Live ledger | InstantAdPay</title>
<meta name="description" content="Every purchase, payout, and pass-up on InstantAdPay, streamed straight from the blockchain with a verify link on every line.">
<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>
<div class="wrap">
@@ -25,8 +25,8 @@
<div>InstantAdPay · <a href="/">how it works</a> · <a id="contractLink" href="#" target="_blank" rel="noopener">contract source ↗</a></div>
</footer>
</div>
<script src="/assets/common.js?v=20260904k"></script>
<script src="/assets/ledger.js?v=20260904k"></script>
<script src="/assets/chat.js?v=20260904k"></script>
<script src="/assets/common.js?v=20260904l"></script>
<script src="/assets/ledger.js?v=20260904l"></script>
<script src="/assets/chat.js?v=20260904l"></script>
</body>
</html>