fix: Exclude time column when selecting build log (#3673)

Closes #2962.
This commit is contained in:
Kyle Carberry
2022-08-24 12:04:33 -05:00
committed by GitHub
parent 1400d7cd84
commit 4f8270d95b
+5 -1
View File
@@ -22,7 +22,7 @@ export const Logs: FC<React.PropsWithChildren<LogsProps>> = ({ lines, className
{lines.map((line, idx) => (
<div className={styles.line} key={idx}>
<span className={styles.time}>{dayjs(line.time).format(`HH:mm:ss.SSS`)}</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<span className={styles.space}>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<span>{line.output}</span>
</div>
))}
@@ -45,7 +45,11 @@ const useStyles = makeStyles((theme) => ({
line: {
whiteSpace: "nowrap",
},
space: {
userSelect: "none",
},
time: {
userSelect: "none",
width: theme.spacing(12.5),
display: "inline-block",
},