Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/assets/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -2773,7 +2773,6 @@ body.is-resizing-dossier .dossier { pointer-events: none; }
letter-spacing: .06em;
text-transform: uppercase;
}
.docs-reader-authority { margin-top: 10px; max-width: 780px; }
.docs-reader-status-warning { max-width: 780px; }
.docs-reader-relationship { max-width: 780px; }

Expand Down
4 changes: 0 additions & 4 deletions docs/assets/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3174,10 +3174,6 @@ function paintDocReaderBody(doc, paraId) {
</div>
</details>
</div>
<aside class="dossier-authority-note docs-reader-authority ${escape(doc.type || 'gc')}" role="note">
<span class="folio">Legal character · ${escape(profile.label)}</span>
<p>${escape(profile.legalCharacter)}</p>
</aside>
${legalStatusWarningHtml(doc, 'docs-reader-status-warning')}
${currentRelationshipHtml(doc, 'docs-reader-relationship')}
${langStripHtml}
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@
}
</script>

<link rel="stylesheet" href="assets/tokens.css?v=20261013-f9b2553" />
<link rel="stylesheet" href="assets/app.css?v=20261013-f9b2553" />
<link rel="stylesheet" href="assets/tokens.css?v=20261013-f5d20f0" />
<link rel="stylesheet" href="assets/app.css?v=20261013-f5d20f0" />

<!-- Google Analytics 4 is loaded LAZILY, only after the visitor opts in
via the consent banner — see initConsent()/loadAnalytics() in app.js.
Expand Down Expand Up @@ -1751,7 +1751,7 @@ <h3 id="report-modal-title" class="report-modal-title">What did you spot?</h3>
<div class="diff-tray" id="diff-tray" hidden></div>
<div class="diff-modal" id="diff-modal" hidden></div>

<script type="module" src="assets/app.js?v=20261013-f9b2553"></script>
<script type="module" src="assets/app.js?v=20261013-f5d20f0"></script>
<script src="assets/who.js?v=20261013" data-tool="unhrdb" data-endpoint="https://lszoszk.goatcounter.com/count" defer></script>
</body>
</html>
2 changes: 2 additions & 0 deletions tests/docs-reader.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ test('R3. deepLink · cold load #documents/<docId> opens the doc', async ({ page
await page.waitForTimeout(800);
await expect(page.locator('.docs-reader-title')).toBeVisible();
expect(await page.locator('.docs-reader-para').count()).toBeGreaterThan(20);
// The reader opens on the document itself, without a legal-character note.
await expect(page.locator('.docs-reader-head')).not.toContainText('Legal character');
});

test('R4. activeParaScroll · ?p=<id> scrolls + highlights', async ({ page }) => {
Expand Down
Loading