From a118fc1017e090e8671bb77c1b61ac8e0f386898 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Wed, 17 Oct 2018 09:07:06 +0100 Subject: [PATCH] Remove extra spaces between logs --- embark-ui/src/components/Console.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/embark-ui/src/components/Console.js b/embark-ui/src/components/Console.js index 8417c80d..c8711565 100644 --- a/embark-ui/src/components/Console.js +++ b/embark-ui/src/components/Console.js @@ -66,6 +66,14 @@ class Console extends Component { } } + logClassName(item) { + return classnames('m-0', { + 'text-info': item.logLevel === 'debug', + 'text-danger': item.logLevel === 'error', + 'text-warning': item.logLevel === 'warning' + }); + } + renderTabs() { const {processLogs, processes} = this.props; @@ -82,14 +90,14 @@ class Console extends Component { if (this.isJsonObject(item)) { return(
-

+

) } return ( -

+

) }) }