From e884cf625022fef08c50b39b3b5aa11d767db9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 6 Dec 2018 09:56:59 +0100 Subject: [PATCH] minor tweaks, now table renders faster and changes less on second stage rendering --- public/sass/components/_panel_logs.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/public/sass/components/_panel_logs.scss b/public/sass/components/_panel_logs.scss index d3381a70d13..652c23903f8 100644 --- a/public/sass/components/_panel_logs.scss +++ b/public/sass/components/_panel_logs.scss @@ -54,6 +54,7 @@ // font-family: $font-family-monospace; // font-size: 12px; display: table; + table-layout: fixed; } .logs-row { @@ -69,8 +70,13 @@ white-space: nowrap; } +.logs-row__labels { + max-width: 20%; +} + .logs-row__message { word-break: break-all; + width: 80%; } .logs-row__match-highlight { @@ -123,9 +129,6 @@ } } -.logs-row__time { -} - .logs-row__duplicates { text-align: right; } @@ -183,7 +186,7 @@ position: relative; } - &--active:after { + &--active::after { display: inline; content: '*'; position: absolute;