<commit_before>/**
 * Copyright 2016 <NAME> <<EMAIL>>
 */
/* text viewer styles */

@import "text-computed-colors";

:host {
  display: block;
  width: 100%;
  white-space: normal;
}

#ID_CONTAINER {
/*          height: 100%; */
  width: 100%;
  overflow: hidden;
}

#ID_CONTAINER > DIV.CodeMirror {
  font-family: var(--terminal-font);
  font-size: var(--terminal-font-size);
  line-height: normal;
}

#ID_CONTAINER:focus {
  outline: 0px;
}

#ID_CONTAINER.hide_cursor .CodeMirror-cursors {
    display: none !important;
}

#ID_CONTAINER.hide_cursor .CodeMirror-lines {
  cursor: default;
}

.cm-s-text {
  line-height: 1.3em;
}

.cm-s-text.CodeMirror { @include text-general; }

.cm-s-text div.CodeMirror-selected { @include text-selected; }

.cm-s-text .CodeMirror-line::selection,
.cm-s-text .CodeMirror-line > span::selection,
.cm-s-text .CodeMirror-line > span > span::selection {
  @include text-selected;
}
<commit_msg>Fixed the vertical position of text inside the text viewer.<commit_after>/**
 * Copyright 2016 <NAME> <<EMAIL>>
 */
/* text viewer styles */

@import "text-computed-colors";

:host {
  display: block;
  width: 100%;
  white-space: normal;
}

#ID_CONTAINER {
/*          height: 100%; */
  width: 100%;
  overflow: hidden;
}

#ID_CONTAINER > DIV.CodeMirror {
  font-family: var(--terminal-font);
  font-size: var(--terminal-font-size);
  line-height: normal;
}

#ID_CONTAINER:focus {
  outline: 0px;
}

#ID_CONTAINER.hide_cursor .CodeMirror-cursors {
    display: none !important;
}

#ID_CONTAINER.hide_cursor .CodeMirror-lines {
  cursor: default;
}

.CodeMirror-lines {
  padding: 0 0; /* Vertical padding around content */
}
.CodeMirror pre {
  padding: 0 0; /* Horizontal padding of content */
}

.cm-s-text {
  line-height: 1.3em;
}

.cm-s-text.CodeMirror { @include text-general; }

.cm-s-text div.CodeMirror-selected { @include text-selected; }

.cm-s-text .CodeMirror-line::selection,
.cm-s-text .CodeMirror-line > span::selection,
.cm-s-text .CodeMirror-line > span > span::selection {
  @include text-selected;
}

{'fraction_non_alphanumeric': 0.16398243045387995, 'fraction_numerical': 0.017569546120058566, 'mean_word_length': 3.515418502202643, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, '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': '1991591', 'n_tokens_mistral': 829, 'n_tokens_neox': 755, 'n_words': 156}