fix(wiki): prevent GHC-05 layout collisions

Co-Authored-By: OpenAI Codex <codex@openai.com>
This commit is contained in:
2026-07-15 17:07:53 +08:00
co-authored by OpenAI Codex
parent 5b9c727d09
commit 1b6c599a89
5 changed files with 12 additions and 0 deletions
+3
View File
@@ -30,7 +30,10 @@ class WikiTopologyProxyTests(unittest.TestCase):
self.assertEqual(html.count('<h1 id="top">'), 1)
self.assertNotIn('<nav class="toc"', html)
self.assertIn("body:has(.wiki-article) .page-header-section", html)
self.assertIn("body:has(.wiki-article) .page-col-sd", html)
self.assertIn("top: 118px !important", html)
self.assertIn(".wiki-article h2 { clear: none; overflow: hidden;", html)
self.assertEqual(html.count('class="infobox-overlap-section"'), 2)
self.assertIn('class="infobox-label"', html)
self.assertEqual(html.count('class="wikitable"'), 2)
self.assertIn('<figure class="topology-embed-shell">', html)