Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 144fd17

Browse files
committed
Fix startup log wrapping
1 parent f6b9fce commit 144fd17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/components/Logs/Logs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ const useStyles = makeStyles<
9999
wordBreak: "break-all",
100100
color: theme.palette.text.primary,
101101
fontFamily: MONOSPACE_FONT_FAMILY,
102-
height: logLineHeight,
102+
height: ({ lineNumbers }) => (lineNumbers ? logLineHeight : "auto"),
103103
// Whitespace is significant in terminal output for alignment
104-
whiteSpace: "pre-line",
104+
whiteSpace: "pre",
105105
padding: theme.spacing(0, 3),
106106

107107
"&.error": {

0 commit comments

Comments
 (0)