From e66fdbbdf9a6444080e5d6b1b54e5b76023e027e Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Wed, 24 Aug 2022 16:41:32 +0000 Subject: [PATCH] fix: Exclude time column when selecting build log Closes #2962. --- site/src/components/Logs/Logs.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/site/src/components/Logs/Logs.tsx b/site/src/components/Logs/Logs.tsx index 3aa7972d5f830..87d1994a65e23 100644 --- a/site/src/components/Logs/Logs.tsx +++ b/site/src/components/Logs/Logs.tsx @@ -22,7 +22,7 @@ export const Logs: FC> = ({ lines, className {lines.map((line, idx) => (
{dayjs(line.time).format(`HH:mm:ss.SSS`)} -      +      {line.output}
))} @@ -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", },