Przeglądaj źródła

minor tweaks, now table renders faster and changes less on second stage rendering

Torkel Ödegaard 7 lat temu
rodzic
commit
e884cf6250
1 zmienionych plików z 7 dodań i 4 usunięć
  1. 7 4
      public/sass/components/_panel_logs.scss

+ 7 - 4
public/sass/components/_panel_logs.scss

@@ -54,6 +54,7 @@
   // font-family: $font-family-monospace;
   // font-family: $font-family-monospace;
   // font-size: 12px;
   // font-size: 12px;
   display: table;
   display: table;
+  table-layout: fixed;
 }
 }
 
 
 .logs-row {
 .logs-row {
@@ -69,8 +70,13 @@
   white-space: nowrap;
   white-space: nowrap;
 }
 }
 
 
+.logs-row__labels {
+  max-width: 20%;
+}
+
 .logs-row__message {
 .logs-row__message {
   word-break: break-all;
   word-break: break-all;
+  width: 80%;
 }
 }
 
 
 .logs-row__match-highlight {
 .logs-row__match-highlight {
@@ -123,9 +129,6 @@
   }
   }
 }
 }
 
 
-.logs-row__time {
-}
-
 .logs-row__duplicates {
 .logs-row__duplicates {
   text-align: right;
   text-align: right;
 }
 }
@@ -183,7 +186,7 @@
     position: relative;
     position: relative;
   }
   }
 
 
-  &--active:after {
+  &--active::after {
     display: inline;
     display: inline;
     content: '*';
     content: '*';
     position: absolute;
     position: absolute;