<commit_before>.canvas-cover {
  font-size: $canvas-cover-font-size;
  font-style: $canvas-cover-font-style;
  color: $canvas-cover-color;
}

.jp-editor-canvas{
  display: flex;
  background-color: $white;
  border: 1px solid $soft-gray;
  max-width: 210mm; // A4 width
  min-width: 320px; // small mobile device width
  min-height: 297mm; // A4 height
  margin: $canvas-margin-top auto 0 auto;


  @media screen and (min-width: 210mm)  {
    padding: 2cm 2cm;
  }

  @media screen and (max-width: 210mm)  {
    padding: 2em 2em;
  }

}

.jp-editor-canvas[mode="full"] {
  display: flex;
  background-color: $white;
  border: 0;
  max-width: 160mm; //
  min-width: 320px; // small mobile device width
  min-height: 297mm; // A4 height

  padding: 0 0;
  margin: $top-full-mode auto 0 auto;

  @media screen and (max-width: 768px)  {
    padding: 2em 2em;
  }
}


.wave-editor-on {
  width: 100%;
}

// avoid content editable grey border in chrome
.wave-editor-on:active, .wave-editor-on:focus {
  border:none;
  outline:none;
}<commit_msg>Avoid glitch editor canvas on off.<commit_after>.canvas-cover {
  font-size: $canvas-cover-font-size;
  font-style: $canvas-cover-font-style;
  color: $canvas-cover-color;
}

.jp-editor-canvas{
  display: flex;
  background-color: $white;
  border: 1px solid $soft-gray;
  max-width: 210mm; // A4 width
  min-width: 320px; // small mobile device width
  min-height: 297mm; // A4 height
  margin: $canvas-margin-top auto 0 auto;


  @media screen and (min-width: 210mm)  {
    padding: 2cm 2cm;
  }

  @media screen and (max-width: 210mm)  {
    padding: 2em 2em;
  }

}

.jp-editor-canvas[mode="full"] {
  display: flex;
  background-color: $white;
  border: 0;
  max-width: 160mm; //
  min-width: 320px; // small mobile device width
  min-height: 297mm; // A4 height

  padding: 0 0;
  margin: $top-full-mode auto 0 auto;

  @media screen and (max-width: 768px)  {
    padding: 2em 2em;
  }
}


.wave-editor-on {
  width: 100%;
}

.wave-editor-off {
  width: 100%;
}

// avoid content editable grey border in chrome
.wave-editor-on:active, .wave-editor-on:focus {
  border:none;
  outline:none;
}
{'fraction_non_alphanumeric': 0.14747191011235955, 'fraction_numerical': 0.04353932584269663, 'mean_word_length': 3.00187265917603, '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': '4152430', 'n_tokens_mistral': 906, 'n_tokens_neox': 801, 'n_words': 208}