<commit_before>@import 'main.less';

@otProjectRowHeight: 3.5em;
@otProjectMargin: 0.5em;

.make-branch-row(@height) {
  min-height: @height !important;
  height: @height !important;
}

table.ot-project-branches {
  border-spacing: @otProjectMargin;
  border-collapse: separate;
  tr {
    .make-branch-row(@otProjectRowHeight);
    td:first-child {
      vertical-align: top;
      padding: @otProjectMargin;
      .bg-primary;
      a {
        color: @btn-primary-color;
        font-weight: bold;
      }
      &.ot-entity-disabled {
        opacity: 0.5;
      }
      .ot-decoration {
        img {
          .ot-icon-mini;
        }
      }
    }
    .ot-project-branch-promotion {
      float: left;
      padding: @otProjectMargin;
      margin-right: @otProjectMargin;
      margin-bottom: @otProjectMargin;
      .make-branch-row(@otProjectRowHeight);
      border: solid 1px @btn-default-border;
      .ot-icon {
        .ot-icon-mini;
      }
    }
  }
}<commit_msg>#118 Adapt project layout to long branch names - correct margins and padding by using bottom border on the first header cell<commit_after>@import 'main.less';

@otProjectRowHeight: 3.5em;
@otProjectMargin: 0.5em;

.make-branch-row(@height) {
  min-height: @height !important;
  height: @height !important;
}

table.ot-project-branches {
  border-collapse: separate;
  tr {
    .make-branch-row(@otProjectRowHeight);
    td:first-child {
      vertical-align: top;
      padding: @otProjectMargin;
      border-bottom: solid @otProjectMargin white;
      .bg-primary;
      a {
        color: @btn-primary-color;
        font-weight: bold;
      }
      &.ot-entity-disabled {
        opacity: 0.5;
      }
      .ot-decoration {
        img {
          .ot-icon-mini;
        }
      }
    }
    .ot-project-branch-promotion {
      float: left;
      padding: @otProjectMargin;
      margin-left: @otProjectMargin;
      margin-bottom: @otProjectMargin;
      .make-branch-row(@otProjectRowHeight);
      border: solid 1px @btn-default-border;
      .ot-icon {
        .ot-icon-mini;
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.13058089294287087, 'fraction_numerical': 0.00816130580892943, 'mean_word_length': 2.171993911719939, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '352532', 'n_tokens_mistral': 708, 'n_tokens_neox': 701, 'n_words': 128}