<commit_before>.gallery {
  width: 100%;
  height: calc(100% - #{$toolbar-total-height});
  position: absolute;
  top: $toolbar-total-height;
}

// Required for bulk-actions position
.gallery__outer {
  height: 100%;
  position: relative;
}

// If editor is present reduce size of gallery
.editor + .gallery__outer {
  @include media-breakpoint-up(lg) {
    width: calc(100% - #{$cms-panel-sm});
  }

  @include media-breakpoint-up(xl) {
    width: calc(100% - #{$cms-panel-md});
  }
}

.gallery__main {
  position: relative;
}

.gallery__no-item-notice {
  width: 100%;
  text-align: center;
}

.gallery__back {
  &.ss-ui-button::before {
    font-size: 23px;
  }
}

.gallery__folders {
  display: inline-block;
  margin-bottom: -6px;
  width: 100%;
}

.gallery__files {
  display: inline-block;
  width: 100%;
  margin-bottom: $toolbar-total-height; // leave space at bottom for bulk-actions on smaller screens
}

.gallery__load {
  width: 100%;
  display: inline-block;
}

.gallery__load-more {
  display: block;
  color: $white;
  cursor: pointer;
  margin: 8px auto 24px;
  padding: 4px;
  width: 200px;
  font-size: 16px;
  height: 44px;
  background-color: $brand-primary;
  border: 0;
  border-radius: 4px;
}

.gallery__sort {
  position: absolute;
  top: 12px;
  right: 0;
  margin-right: 16px;

  .gallery & .chosen-single {
    border: 0;
    filter: none; //IE9
    background: none;
    box-shadow: none;
    color: inherit;
    margin-top: -1px;
  }

  .chosen-single {
    &:focus {<commit_msg>adjust sort position<commit_after>.gallery {
  width: 100%;
  height: calc(100% - #{$toolbar-total-height});
  position: absolute;
  top: $toolbar-total-height;
}

// Required for bulk-actions position
.gallery__outer {
  height: 100%;
  position: relative;
}

// If editor is present reduce size of gallery
.editor + .gallery__outer {
  @include media-breakpoint-up(lg) {
    width: calc(100% - #{$cms-panel-sm});
  }

  @include media-breakpoint-up(xl) {
    width: calc(100% - #{$cms-panel-md});
  }
}

.gallery__main {
  position: relative;
}

.gallery__no-item-notice {
  width: 100%;
  text-align: center;
}

.gallery__back {
  &.ss-ui-button::before {
    font-size: 23px;
  }
}

.gallery__folders {
  display: inline-block;
  margin-bottom: -6px;
  width: 100%;
}

.gallery__files {
  display: inline-block;
  width: 100%;
  margin-bottom: $toolbar-total-height; // leave space at bottom for bulk-actions on smaller screens
}

.gallery__load {
  width: 100%;
  display: inline-block;
}

.gallery__load-more {
  display: block;
  color: $white;
  cursor: pointer;
  margin: 8px auto 24px;
  padding: 4px;
  width: 200px;
  font-size: 16px;
  height: 44px;
  background-color: $brand-primary;
  border: 0;
  border-radius: 4px;
}

.gallery__sort {
  position: absolute;
  top: $spacer-y;
  right: 0;
  margin-right: $panel-padding-x;

  .gallery & .chosen-single {
    border: 0;
    filter: none; //IE9
    background: none;
    box-shadow: none;
    color: inherit;
    margin-top: -1px;
  }

  .chosen-single {
    &:focus {
{'fraction_non_alphanumeric': 0.15023011176857332, 'fraction_numerical': 0.032215647600262985, 'mean_word_length': 3.09005376344086, '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': '2482069', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1119, 'n_words': 262}