<commit_before>.image-chooser {
  position: relative;
  input.file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
  }
  label.selector {
    &:extend(.btn);
    &:extend(.btn-default);
  }
  &.with-image label.selector {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
    box-shadow: 0 8px 6px -6px black;
  }
  img {
    height: auto;
    width: 100%;
  }
}
<commit_msg>Position controls around image<commit_after>.image-chooser {
  position: relative;
  input.file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
  }
  label.selector {
    &:extend(.btn);
    &:extend(.btn-default);
  }
  &.with-image .controls {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
    > * {
      margin-left: 0.25rem;
      box-shadow: 0 8px 6px -6px black;
    }
  }
  textarea {
    position: absolute;
    height: 130px;
    max-height: 80%;
    width: calc(100% - 20px);
    background: white;
    left: 10px;
    bottom: 10px;
    margin-bottom: 0;
  }
  .progress {
    position: absolute;
    bottom: 0px;
    left: 5%;
    width: 90%;
  }
  img {
    height: auto;
    width: 100%;
  }
}

{'fraction_non_alphanumeric': 0.1468034727703236, 'fraction_numerical': 0.042620363062352014, 'mean_word_length': 2.0926829268292684, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3086570', 'n_tokens_mistral': 532, 'n_tokens_neox': 482, 'n_words': 112}