@table-padding: 8px;

// keep the metric tree looking like the inputs above: bordered, same min height, scroll when filled
.metrics-tree-box {
  box-sizing: border-box;
  min-height: 32px;
  max-height: 260px;
  padding: 4px 8px;
  overflow: auto;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  transition: border-color 0.3s;

  &:hover {
    border-color: #40a9ff;
  }
}

.monitor-label-tag {
  margin-left: 8px;
}

.table {
  width: 100%;
  table-layout: auto;

  th {
    white-space: nowrap;
    padding: @table-padding;
    text-align: center;
  }

  td {
    white-space: nowrap;
    padding: @table-padding;
    text-align: center;
  }
}
