Skip to content

Commit 1a3967f

Browse files
committed
Disables word wrap in code blocks by default
1 parent dd70361 commit 1a3967f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/common/CodeBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ const CodeBlock = memo(
219219
rawSource,
220220
language,
221221
preStyle,
222-
initialWordWrap = true,
222+
initialWordWrap = false,
223223
initialWindowShade = true,
224224
collapsedHeight,
225225
onLanguageChange,

0 commit comments

Comments
 (0)