<commit_before>details {
  position: relative;
}

details > *,
details .lightbox-wrapper {
  display: none;
}

details,
summary {
  outline: none;
}

summary:first-of-type {
  cursor: pointer;
  display: block;
}

summary:before {
  content: '\25BA';
  margin-right: .25em;
}

details[open] > summary:before,
details.open  > summary:before {
  content: '\25BC';
}

details[open] > summary:first-of-type ~ *,
details.open  > summary:first-of-type ~ * {
  display: block;
}

/* hide native indicator */
summary::-webkit-details-marker {
  display: none;
}

/* FF: hide div generated by lazyYT plugin */
details .lazyYT-container {
  display: none;
}


.elided {

  summary:before {
    content: '' !important;
  }

  summary {
    @include unselectable;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #aaa;
    background: #f1f1f1;
    border: 1px solid #ddd;
    width: 20px;
    display: flex;
    text-align: center;
    vertical-align: middle;
    line-height: 12px;
  }

  summary:hover {
    color: #222;
    background: #d8d8d8;
    border-color: #cdcdcd;
  }
}
<commit_msg>FIX: <details> should expand when supported by the browser<commit_after>details {
  position: relative;
}

details > *,
details .lightbox-wrapper {
  display: none;
}

details,
summary {
  outline: none;
}

summary:first-of-type {
  cursor: pointer;
  display: block;
}

summary:before {
  content: '\25BA';
  margin-right: .25em;
}

details[open] > * {
  display: block;
}

details[open] > summary:before,
details.open  > summary:before {
  content: '\25BC';
}

details[open] > summary:first-of-type ~ *,
details.open  > summary:first-of-type ~ * {
  display: block;
}

/* hide native indicator */
summary::-webkit-details-marker {
  display: none;
}

/* FF: hide div generated by lazyYT plugin */
details .lazyYT-container {
  display: none;
}


.elided {

  summary:before {
    content: '' !important;
  }

  summary {
    @include unselectable;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #aaa;
    background: #f1f1f1;
    border: 1px solid #ddd;
    width: 20px;
    display: flex;
    text-align: center;
    vertical-align: middle;
    line-height: 12px;
  }

  summary:hover {
    color: #222;
    background: #d8d8d8;
    border-color: #cdcdcd;
  }
}

{'fraction_non_alphanumeric': 0.14366812227074235, 'fraction_numerical': 0.01921397379912664, 'mean_word_length': 3.054867256637168, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 15, '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': '3136644', 'n_tokens_mistral': 873, 'n_tokens_neox': 836, 'n_words': 189}