/* Limit super long messages to 3 lines */
#log-data td[data-value="message"] {
  overflow-y: auto;
  display: block;
  max-height: calc(1.8em * 5);
  /* display: -webkit-box;
  line-clamp: 5; 
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical; */
}

/* Formatting for code (traceback) messages */
#log-data td.code[data-value="message"] {
  /* Use a monospace font so text alignment is preserved */
  font-family: monospace;
  /* Preserve spaces so traceback boxes and lines are kept */
  white-space: preserve;
  /* Show up to 10 lines, not 5 */
  /* line-clamp: 10; */
  /* -webkit-line-clamp: 10; */
  max-height: calc(1.8em * 10);
  /* Block so that clamped text still renders */
  display: block;
}

/* Center align table on mobile */
@media (max-width: 768px) {
  table th, table td {
    text-align: center !important;
  }
}

/* Stylize "redacted" text */
span.redacted.text:not(:hover, :focus) {
  /* Hide the text */
  color: transparent;
  /* Add black highlight over text */
  background-color: #1a1a1a;
  border-radius: 4px;
}
