mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 03:04:21 +01:00
fix(desktop): code/diff number container width
This commit is contained in:
@@ -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 || {}),
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user