From 2cbb5ec4c605879b00605a738638140eb519a698 Mon Sep 17 00:00:00 2001 From: Mathew Kurian Date: Tue, 23 Dec 2014 14:02:46 -0600 Subject: [PATCH] Fix multiline --- static/partials/elements/log.html | 14 ++++++++------ static/style.css | 10 +++++++++- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/static/partials/elements/log.html b/static/partials/elements/log.html index b82a7d8..40c0225 100644 --- a/static/partials/elements/log.html +++ b/static/partials/elements/log.html @@ -1,4 +1,4 @@ -

+

{{number}} @@ -11,12 +11,14 @@ - - + + {{log.context.time | date: 'EEE MMM dd yyyy'}} - + + + + {{log.context.time | date: 'yyyy-MM-ddTHH:mm:ss:Z'}} @@ -41,4 +43,4 @@ {{log}} -

+
diff --git a/static/style.css b/static/style.css index adf3925..e0e7278 100644 --- a/static/style.css +++ b/static/style.css @@ -504,7 +504,7 @@ body { .log__message > span { display: block; overflow: hidden; - white-space: pre; + white-space: pre-wrap; font-size: 12px; } .log--collapse .log__message > span { @@ -790,3 +790,11 @@ button.toggle-button.active { .checkbox input[type=checkbox]:checked + label:after { opacity: 1; } + +.log__time_80 { + min-width: 80px; +} + +.log__time_122 { + min-width: 122px; +}