diff --git a/src/less/components/output.less b/src/less/components/output.less index 3a0b20bdac..769eaaf650 100644 --- a/src/less/components/output.less +++ b/src/less/components/output.less @@ -1,4 +1,4 @@ -@import "../variables.less"; +@import '../variables.less'; .output { font-size: 12px; @@ -16,10 +16,7 @@ overflow-y: scroll; -webkit-app-region: no-drag; - p { - margin-bottom: 0; + .output-message { white-space: pre; - padding-left: 5.6em; - text-indent: -5.6em; } } diff --git a/src/renderer/components/output.tsx b/src/renderer/components/output.tsx index d8035a6fc7..0c1eba35f5 100644 --- a/src/renderer/components/output.tsx +++ b/src/renderer/components/output.tsx @@ -88,10 +88,12 @@ export class Output extends React.Component { : {}; return lines.map((text, lineIndex) => ( -

- {timestamp} - {text} -

+
+ + {timestamp} + {text} + +
)); } diff --git a/tests/renderer/components/__snapshots__/output-spec.tsx.snap b/tests/renderer/components/__snapshots__/output-spec.tsx.snap index 5dac85e122..52a3accb4b 100644 --- a/tests/renderer/components/__snapshots__/output-spec.tsx.snap +++ b/tests/renderer/components/__snapshots__/output-spec.tsx.snap @@ -4,31 +4,39 @@ exports[`Output component renders with output 1`] = `
-

- 1532704073130 + + 1532704073130 + + Hi! - Hi! -

-

+

- 1532704073130 + + 1532704073130 + + Hi! - Hi! -

+
`;