CLS: #packages-static uit de layout (visueel verborgen) en metrisch gelijke terugvalfont voor JetBrains Mono; test erbij

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 08:16:41 +01:00
co-authored by Claude Sonnet 5.5
parent 43c76c80ad
commit d6a3acdd47
4 changed files with 49 additions and 1 deletions
+15
View File
@@ -45,6 +45,21 @@
}
</script>
<!--SLP:OFFERINGS-JSON-LD-->
<!-- The host may inject a crawler-readable packages list above #root (removed by main.tsx at start-up).
Take it out of the layout so that removing it does not shift the page (CLS). -->
<style>
#packages-static {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
</style>
<!--CMS:HERO-PRELOAD--><!--/CMS:HERO-PRELOAD-->
<!--CMS:DATA-->
<script type="application/json" id="cms-data">