Spaces:
Sleeping
Sleeping
Tengo Gzirishvili Claude Opus 4.8 commited on
Commit ·
f3bb46d
1
Parent(s): f94392e
fix: policy notice [hidden] override + cache-bust v2
Browse files`.policy-notice{display:flex}` beat the UA `[hidden]{display:none}`, so the
notice bar stayed visible after "Got it" and on reload despite hidden=true
(same class of bug as the export-menu dropdown). Add `.policy-notice[hidden]
{display:none}`. Verified in preview: fresh→shows, dismiss→display:none/height 0
/persisted, reload→stays hidden, no console errors. Cache-buster → v=20260607-policy2.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- dee/static/app.css +1 -0
- dee/static/index.html +2 -2
dee/static/app.css
CHANGED
|
@@ -5890,6 +5890,7 @@ h3, h4 {
|
|
| 5890 |
}
|
| 5891 |
|
| 5892 |
/* ── One-time policy-change notice (Privacy/Terms v2.0) ───────────────── */
|
|
|
|
| 5893 |
.policy-notice {
|
| 5894 |
display: flex; align-items: center; gap: 16px;
|
| 5895 |
padding: 10px 18px;
|
|
|
|
| 5890 |
}
|
| 5891 |
|
| 5892 |
/* ── One-time policy-change notice (Privacy/Terms v2.0) ───────────────── */
|
| 5893 |
+
.policy-notice[hidden] { display: none; } /* must beat the .policy-notice display rule below */
|
| 5894 |
.policy-notice {
|
| 5895 |
display: flex; align-items: center; gap: 16px;
|
| 5896 |
padding: 10px 18px;
|
dee/static/index.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
| 22 |
<!-- ?v= query bumps invalidate browser + iframe asset caches when app.css /
|
| 23 |
app.js change. Bump these numbers whenever you ship a frontend update —
|
| 24 |
without them, users keep getting the stale file for up to a week. -->
|
| 25 |
-
<link rel="stylesheet" href="/static/app.css?v=20260607-
|
| 26 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v=2" />
|
| 27 |
<link rel="apple-touch-icon" href="/static/favicon.svg?v=2" />
|
| 28 |
<!-- Mol* (PDBe) viewer for AlphaFold structure embed. Loaded async; the
|
|
@@ -1669,6 +1669,6 @@
|
|
| 1669 |
<!-- Cloning reference data must load before app.js so the Designer
|
| 1670 |
can read VECTORS / ENZYMES / CLONING_METHODS / TAGS / LINKERS. -->
|
| 1671 |
<script src="/static/cloning_db.js?v=20260530-ui-polish" defer></script>
|
| 1672 |
-
<script src="/static/app.js?v=20260607-
|
| 1673 |
</body>
|
| 1674 |
</html>
|
|
|
|
| 22 |
<!-- ?v= query bumps invalidate browser + iframe asset caches when app.css /
|
| 23 |
app.js change. Bump these numbers whenever you ship a frontend update —
|
| 24 |
without them, users keep getting the stale file for up to a week. -->
|
| 25 |
+
<link rel="stylesheet" href="/static/app.css?v=20260607-policy2" />
|
| 26 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v=2" />
|
| 27 |
<link rel="apple-touch-icon" href="/static/favicon.svg?v=2" />
|
| 28 |
<!-- Mol* (PDBe) viewer for AlphaFold structure embed. Loaded async; the
|
|
|
|
| 1669 |
<!-- Cloning reference data must load before app.js so the Designer
|
| 1670 |
can read VECTORS / ENZYMES / CLONING_METHODS / TAGS / LINKERS. -->
|
| 1671 |
<script src="/static/cloning_db.js?v=20260530-ui-polish" defer></script>
|
| 1672 |
+
<script src="/static/app.js?v=20260607-policy2" defer></script>
|
| 1673 |
</body>
|
| 1674 |
</html>
|