<commit_before>.sc-card {
  position: relative;
  max-width: 800px;
  box-shadow: 0 0 0 0.75pt #d1d1d1, 0 0 3pt 0.75pt #ccc;
  margin: 30px 0;
  --label-font-size: 12px;
  --input-font-size: 14px;
  --label-font-weight: 400;
  --label-line-height: 14px;
  --label-color: #9e9e9e;
  --warning-color: #ffaf46;
}

.sc-card.sm-selected {
  outline: var(--input-focus-border)
}

.sc-card > .se-label {
  position: absolute;
  top: -10px;
  left: 40px;
  overflow: visible;
  padding: 0px 20px;
  background: #fff;
  color: var(--label-color);
  font-size: var(--label-font-size);
  font-weight: var(--label-font-weight);
  line-height: var(--label-line-height);
  cursor: default;
}

.sc-card.sm-selected > .se-label {
  background: var(--focus-color);
  color: #fff;
}

.sc-card > * {
  overflow: hidden;
  padding: 20px;
  border: 1px solid transparent;
}

.sc-card > * > * {
  margin-bottom: 15px;
}

.sc-card > * > .se-header {
  font-size: 17px;
  margin-bottom: 20px;
  cursor: default;
}
<commit_msg>Fix card overflow problems.<commit_after>.sc-card {
  position: relative;
  max-width: 800px;
  box-shadow: 0 0 0 0.75pt #d1d1d1, 0 0 3pt 0.75pt #ccc;
  margin: 30px 0;
  --label-font-size: 12px;
  --input-font-size: 14px;
  --label-font-weight: 400;
  --label-line-height: 14px;
  --label-color: #9e9e9e;
  --warning-color: #ffaf46;
}

.sc-card.sm-selected {
  outline: var(--input-focus-border)
}

.sc-card > .se-label {
  position: absolute;
  top: -10px;
  left: 40px;
  padding: 0px 20px;
  background: #fff;
  color: var(--label-color);
  font-size: var(--label-font-size);
  font-weight: var(--label-font-weight);
  line-height: var(--label-line-height);
  cursor: default;
}

.sc-card.sm-selected > .se-label {
  background: var(--focus-color);
  color: #fff;
}

.sc-card > * {
  padding: 20px;
  border: 1px solid transparent;
}

.sc-card > * > * {
  margin-bottom: 15px;
}

.sc-card > * > .se-header {
  font-size: 17px;
  margin-bottom: 20px;
  cursor: default;
}

{'fraction_non_alphanumeric': 0.18765806777946384, 'fraction_numerical': 0.051593323216995446, 'mean_word_length': 2.8708414872798436, 'pattern_counts': {'":': 0, '<': 3, '<?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': '911997', 'n_tokens_mistral': 916, 'n_tokens_neox': 833, 'n_words': 169}