<commit_before>// The messageModal class is shared by both the SimpleMessageModal and the Dialog and
// is therefore the place to declare styling common to both of them.
// TODO: if we find they end up sharing very little in common, we can break them
// out into seperate files.
.messageModal {
  .modalContent {
    width: 600px;
  }

  .msgWrap {
    font-size: 1.4rem;
  }

  &.dialog {
    // specific to dialog styling

    .dialogScrollMsg {
      .innerMessage {
        max-height: 425px;
        overflow: auto;
        margin-right: -15px;
      }
    }

    .buttonWrap {
      text-align: center;
    }
  }

  &.simpleMessage {
   // specific to simple message modal
  }
}
<commit_msg>Prevent text from touching dialog boxes in scroll modals.<commit_after>// The messageModal class is shared by both the SimpleMessageModal and the Dialog and
// is therefore the place to declare styling common to both of them.
// TODO: if we find they end up sharing very little in common, we can break them
// out into seperate files.
.messageModal {
  .modalContent {
    width: 600px;
  }

  .msgWrap {
    font-size: 1.4rem;
  }

  &.dialog {
    // specific to dialog styling

    .dialogScrollMsg {
      .innerMessage {
        max-height: 425px;
        overflow: auto;
        margin-right: -15px;
        padding-right: 15px;
      }
    }

    .buttonWrap {
      text-align: center;
    }
  }

  &.simpleMessage {
   // specific to simple message modal
  }
}

{'fraction_non_alphanumeric': 0.08861622358554874, 'fraction_numerical': 0.014996591683708248, 'mean_word_length': 2.212253829321663, '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': '5377909', 'n_tokens_mistral': 468, 'n_tokens_neox': 433, 'n_words': 160}