@tenphi/starlight 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -616,11 +616,17 @@ export default function GlobalStyles() {
616
616
  display: "block",
617
617
  inlineSize: "max-content",
618
618
  minInlineSize: "100%",
619
+ lineHeight: "0",
619
620
  });
620
621
 
621
622
  useGlobalStyles(".sl-markdown-content pre.td-diff .line", {
622
623
  display: "block",
623
624
  paddingInline: "1rem",
625
+ lineHeight: "$code-line-height",
626
+ });
627
+
628
+ useGlobalStyles(".sl-markdown-content pre.td-diff .line:empty::before", {
629
+ content: '"\\200b"',
624
630
  });
625
631
 
626
632
  useGlobalStyles(".sl-markdown-content pre.td-diff .td-diff-line--inserted", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenphi/starlight",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Astro and Starlight renderer for Cookbook",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -49,7 +49,7 @@
49
49
  "@astrojs/starlight": "^0.41.10",
50
50
  "@fontsource-variable/jetbrains-mono": "^5.3.0",
51
51
  "@fontsource-variable/onest": "^5.3.0",
52
- "@tenphi/docs": "0.9.3",
52
+ "@tenphi/docs": "0.9.4",
53
53
  "@tenphi/glaze": "2.0.0",
54
54
  "@tenphi/tasty": "3.6.0",
55
55
  "beautiful-mermaid": "^1.1.3",