<commit_before>.header {
  min-height: 40px;
  -webkit-app-region: drag;
  -webkit-user-select: none;

  &.bordered {
    border-bottom: 1px solid @color-divider;
  }

  display: flex;

  .no-drag {
    -webkit-app-region: no-drag;
  }
  
  .left-header {
    display: flex;
    min-width: @sidebar-width + 1px;
  }
  
  .right-header {
    display: flex;
    justify-content: flex-end;
    flex: 1 0;
  }

  .updates {
    flex: 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
  }

  .logo {
    padding: 0.9rem 1rem 0 0;
  }
  
  .login-wrapper {
    flex: 1 auto;
    display: flex;
    justify-content: flex-end;
  }

  .login {
    flex: 0 auto;
    display: flex;
    align-items: center;
    border-left: 1px solid @color-divider;
    border-right: 1px solid @color-divider;
    padding: 0 1rem 0 1rem;
    .box-button();
    .text {
      width: 70px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    img {
      position: relative;
      top: 0.1rem;
      margin: 0 0rem 0 0.4rem;
      width: 8px;
      height: 5px;
    }
  }

  .buttons {
    display: flex;
    margin: 0 1.5rem;
    align-items: center;
    justify-content: center;
    &:hover {
      .button-minimize.enabled {
        .at2x('minimize.png', 10px, 10px);
      }
      .button-close.enabled {
        .at2x('close.png', 10px, 10px);
      }
      .button-fullscreen.enabled {
        .at2x('fullscreen.png', 10px, 10px);
      }
      .button-fullscreenclose.enabled {
        .at2x('fullscreenclose.png', 10px, 10px);
      }
    }
    .button {
      flex: 0 auto;
      .traffic-light();
      &.button-close {
        background-color: @traffic-light-red;
        border-color: @traffic-light-red-border;
      }
      &.button-minimize {
        background-color: @traffic-light-yellow;
        border-color: @traffic-light-yellow-border;
      }
      &.button-fullscreen {
        background-color: @traffic-light-green;
        border-color: @traffic-light-green-border;
      }
      &.button-fullscreenclose {
        background-color: @traffic-light-green;
        border-color: @traffic-light-green-border;
      }
      &.disabled {
        background-color: @traffic-light-gray;
        border-color: @traffic-light-gray-border;
      }
    }
  }
}
<commit_msg>Fixed username not looking nice for shorter names.<commit_after>.header {
  min-height: 40px;
  -webkit-app-region: drag;
  -webkit-user-select: none;

  &.bordered {
    border-bottom: 1px solid @color-divider;
  }

  display: flex;

  .no-drag {
    -webkit-app-region: no-drag;
  }
  
  .left-header {
    display: flex;
    min-width: @sidebar-width + 1px;
  }
  
  .right-header {
    display: flex;
    justify-content: flex-end;
    flex: 1 0;
  }

  .updates {
    flex: 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
  }

  .logo {
    padding: 0.9rem 1rem 0 0;
  }
  
  .login-wrapper {
    flex: 1 auto;
    display: flex;
    justify-content: flex-end;
  }

  .login {
    flex: 0 auto;
    display: flex;
    align-items: center;
    border-left: 1px solid @color-divider;
    border-right: 1px solid @color-divider;
    padding: 0 1rem 0 1rem;
    .box-button();
    .text {
      max-width: 70px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    img {
      position: relative;
      top: 0.1rem;
      margin: 0 0rem 0 0.4rem;
      width: 8px;
      height: 5px;
    }
  }

  .buttons {
    display: flex;
    margin: 0 1.5rem;
    align-items: center;
    justify-content: center;
    &:hover {
      .button-minimize.enabled {
        .at2x('minimize.png', 10px, 10px);
      }
      .button-close.enabled {
        .at2x('close.png', 10px, 10px);
      }
      .button-fullscreen.enabled {
        .at2x('fullscreen.png', 10px, 10px);
      }
      .button-fullscreenclose.enabled {
        .at2x('fullscreenclose.png', 10px, 10px);
      }
    }
    .button {
      flex: 0 auto;
      .traffic-light();
      &.button-close {
        background-color: @traffic-light-red;
        border-color: @traffic-light-red-border;
      }
      &.button-minimize {
        background-color: @traffic-light-yellow;
        border-color: @traffic-light-yellow-border;
      }
      &.button-fullscreen {
        background-color: @traffic-light-green;
        border-color: @traffic-light-green-border;
      }
      &.button-fullscreenclose {
        background-color: @traffic-light-green;
        border-color: @traffic-light-green-border;
      }
      &.disabled {
        background-color: @traffic-light-gray;
        border-color: @traffic-light-gray-border;
      }
    }
  }
}

{'fraction_non_alphanumeric': 0.1374238285354066, 'fraction_numerical': 0.02395461231351124, 'mean_word_length': 1.913096695226438, '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': '68074', 'n_tokens_mistral': 1816, 'n_tokens_neox': 1695, 'n_words': 325}