<commit_before>$dialog-transition-duration: 150ms;

.alchemy-image-overlay-container,
.alchemy-dialog-container {
  position: fixed;
  overflow: auto;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.98);
  transition-property: transform, opacity;
  transition-duration: $dialog-transition-duration;
  transition-timing-function: ease-in;

  // vertical aligment
  &:before {
    content: '';
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    margin-right: -0.25em;
  }

  &.open {
    opacity: 1;
    transform: scale(1);
  }
}

.alchemy-image-overlay,
.alchemy-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.0);
  transition: background-color $dialog-transition-duration linear;

  &.closable {
    cursor: pointer;
  }
}

.alchemy-dialog-overlay {

  &.open {
    background-color: rgba($dialog-overlay-color, $dialog-overlay-opacity);
  }
}

.alchemy-dialog,
.alchemy-image-overlay-dialog {
  position: relative;
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

.alchemy-dialog {
  white-space: normal;
  margin: 2*$default-margin;
  @include border-top-radius($default-border-radius);
  box-shadow: $dialog-box-shadow;
  background-color: $dialog-background-color;
  transition: min-height $dialog-transition-duration ease-in-out;

  div#jscropper {
    padding: 2 * $default-padding;

    .thumbnail_background {
      width: 800px;<commit_msg>Fix dialog width on small screens<commit_after>$dialog-transition-duration: 150ms;

.alchemy-image-overlay-container,
.alchemy-dialog-container {
  position: fixed;
  overflow: auto;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.98);
  transition-property: transform, opacity;
  transition-duration: $dialog-transition-duration;
  transition-timing-function: ease-in;

  // vertical aligment
  &:before {
    content: '';
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    margin-right: -0.25em;
  }

  &.open {
    opacity: 1;
    transform: scale(1);
  }
}

.alchemy-image-overlay,
.alchemy-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.0);
  transition: background-color $dialog-transition-duration linear;

  &.closable {
    cursor: pointer;
  }
}

.alchemy-dialog-overlay {

  &.open {
    background-color: rgba($dialog-overlay-color, $dialog-overlay-opacity);
  }
}

.alchemy-dialog,
.alchemy-image-overlay-dialog {
  position: relative;
  max-width: calc(100vw - 16px);
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

.alchemy-dialog {
  white-space: normal;
  margin: 2*$default-margin;
  @include border-top-radius($default-border-radius);
  box-shadow: $dialog-box-shadow;
  background-color: $dialog-background-color;
  transition: min-height $dialog-transition-duration ease-in-out;

  div#jscropper {
    padding: 2 * $default-padding;

    .thumbnail_background {
      width: 800px;
{'fraction_non_alphanumeric': 0.14668289713937918, 'fraction_numerical': 0.0310407790626902, 'mean_word_length': 3.388518024032043, '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': '7648737', 'n_tokens_mistral': 1276, 'n_tokens_neox': 1149, 'n_words': 239}