fix(desktop): code/diff number container width

This commit is contained in:
Adam
2025-11-11 09:22:35 -06:00
parent ab3f198fab
commit 54bff6b120
2 changed files with 2 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ export function Code<T>(props: CodeProps<T>) {
"--pjs-font-features": "var(--font-family-mono--font-feature-settings)",
"--pjs-header-font-family": "var(--font-family-sans)",
"--pjs-gap-block": 0,
"--pjs-min-number-column-width": "4ch",
}}
classList={{
...(local.classList || {}),

View File

@@ -167,6 +167,7 @@ export function Diff<T>(props: DiffProps<T>) {
"--pjs-font-features": "var(--font-family-mono--font-feature-settings)",
"--pjs-header-font-family": "var(--font-family-sans)",
"--pjs-gap-block": 0,
"--pjs-min-number-column-width": "4ch",
}}
ref={container}
/>