From 4f8270d95b46a086cb05029ed271b4564a5d8b87 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Wed, 24 Aug 2022 12:04:33 -0500 Subject: [PATCH] fix: Exclude time column when selecting build log (#3673) 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 3aa7972d5f..87d1994a65 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", },