Skip to content

Commit 13391c9

Browse files
fix
1 parent 489fa34 commit 13391c9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/vue/src/components/DiffSplitViewNormal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const DiffSplitViewNormal = defineComponent(
122122

123123
const width = useTextWidth({ text: maxText, font });
124124

125-
const computedWidth = computed(() => Math.max(50, width.value + 25));
125+
const computedWidth = computed(() => Math.max(40, width.value + 25));
126126

127127
return () => {
128128
return (

packages/vue/src/components/DiffSplitViewWrap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const DiffSplitViewWrap = defineComponent(
6767

6868
const width = useTextWidth({ text: maxText, font });
6969

70-
const computedWidth = computed(() => Math.max(50, width.value + 25));
70+
const computedWidth = computed(() => Math.max(40, width.value + 25));
7171

7272
return () => {
7373
return (

packages/vue/src/components/DiffUnifiedView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const DiffUnifiedView = defineComponent(
4040

4141
const width = useTextWidth({ text: maxText, font });
4242

43-
const computedWidth = computed(() => Math.max(50, width.value + 25));
43+
const computedWidth = computed(() => Math.max(40, width.value + 25));
4444

4545
return () => (
4646
<div class="unified-diff-view w-full">

0 commit comments

Comments
 (0)