Skip to content

Commit e66fdbb

Browse files
committed
fix: Exclude time column when selecting build log
Closes #2962.
1 parent eba753b commit e66fdbb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

site/src/components/Logs/Logs.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const Logs: FC<React.PropsWithChildren<LogsProps>> = ({ lines, className
2222
{lines.map((line, idx) => (
2323
<div className={styles.line} key={idx}>
2424
<span className={styles.time}>{dayjs(line.time).format(`HH:mm:ss.SSS`)}</span>
25-
&nbsp;&nbsp;&nbsp;&nbsp;
25+
<span className={styles.space}>&nbsp;&nbsp;&nbsp;&nbsp;</span>
2626
<span>{line.output}</span>
2727
</div>
2828
))}
@@ -45,7 +45,11 @@ const useStyles = makeStyles((theme) => ({
4545
line: {
4646
whiteSpace: "nowrap",
4747
},
48+
space: {
49+
userSelect: "none",
50+
},
4851
time: {
52+
userSelect: "none",
4953
width: theme.spacing(12.5),
5054
display: "inline-block",
5155
},

0 commit comments

Comments
 (0)