<commit_before>@import "vars.css";

@component MediaList {
  overflow-y: auto;
}

@component MediaListRow {
  height: 54px;
  line-height: 54px;

  &:nth-child(2n+1) {
    background: hexa($muted-text-color, 0.3);
  }

  @when selected {
    background: hexa($highlight-color, 0.7);
  }

  @descendent thumb {
    box-sizing: border-box;
    height: 100%;
    width: 55px;
    margin: 0 15px;
    padding: 7px 0;
    float: left;
  }

  @descendent image {
    max-width: 100%;
    max-height: 100%;
  }

  @descendent artist {
    float: left;
    width: calc(50% - 85px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  @descendent title {
    float: left;
    width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  @descendent actions {
    position: absolute;<commit_msg>playlists: fix long artist names / song titles overflowing<commit_after>@import "vars.css";

@component MediaList {
  overflow-y: auto;
}

@component MediaListRow {
  height: 54px;
  line-height: 54px;

  &:nth-child(2n+1) {
    background: hexa($muted-text-color, 0.3);
  }

  @when selected {
    background: hexa($highlight-color, 0.7);
  }

  @descendent thumb {
    box-sizing: border-box;
    height: 100%;
    width: 55px;
    margin: 0 15px;
    padding: 7px 0;
    float: left;
  }

  @descendent image {
    max-width: 100%;
    max-height: 100%;
  }

  @descendent artist {
    float: left;
    width: calc(50% - 85px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  @descendent title {
    float: left;
    width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  @descendent actions {
    position: absolute;
{'fraction_non_alphanumeric': 0.13569321533923304, 'fraction_numerical': 0.03775811209439528, 'mean_word_length': 2.703056768558952, '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': '1165316', 'n_tokens_mistral': 684, 'n_tokens_neox': 614, 'n_words': 146}