diff --git a/.changeset/sixty-clowns-run.md b/.changeset/sixty-clowns-run.md new file mode 100644 index 0000000000..595049df8f --- /dev/null +++ b/.changeset/sixty-clowns-run.md @@ -0,0 +1,5 @@ +--- +'@backstage/core-components': patch +--- + +Line numbers in LogViewer will not be selectable in UI anymore diff --git a/packages/core-components/src/components/LogViewer/styles.ts b/packages/core-components/src/components/LogViewer/styles.ts index 76e045ca32..238361f9a9 100644 --- a/packages/core-components/src/components/LogViewer/styles.ts +++ b/packages/core-components/src/components/LogViewer/styles.ts @@ -97,6 +97,7 @@ export const useStyles = makeStyles( marginRight: theme.spacing(1), cursor: 'pointer', flexShrink: 0, + userSelect: 'none', }, textHighlight: { background: alpha(theme.palette.info.main, 0.15),