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:
+15
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user