<commit_before>.root {
  position: relative;
  display: inline-block;
  cursor: pointer;
  min-height: 36px;
  min-width: 88px;
  padding: 0 16px;
  transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  border: 0;
  background: none;
  outline: none;
  text-transform: uppercase;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
  color: inherit;
  border-radius: 2px;
  user-select: none;
  text-decoration: none;
  box-sizing: border-box;
}

.root.hasBackground {
  box-shadow: $elevation2;
}

.root.hasBackground:active {
  box-shadow: $elevation5;
}

.root::-moz-focus-inner {
  border: 0;
}

.fab {
  height: 56px;
  width: 56px;
  min-height: 56px;
  min-width: 56px;
  border-radius: 50%;
  margin: 8px;
  padding: 0;
  box-shadow: $elevation5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fab:active {
  box-shadow: $elevation10;
}

.label {
  display: inherit;
  pointer-events: none;
}

.fab > .label {
  justify-content: center;
  width: 100%;
}

.isIcon {
  border-radius: 50%;
}
<commit_msg>[Button] handle label overflow gracefully<commit_after>.root {
  position: relative;
  display: inline-block;
  cursor: pointer;
  min-height: 36px;
  min-width: 88px;
  padding: 0 16px;
  transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  border: 0;
  background: none;
  outline: none;
  text-transform: uppercase;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
  color: inherit;
  border-radius: 2px;
  user-select: none;
  text-decoration: none;
  box-sizing: border-box;
}

.root.hasBackground {
  box-shadow: $elevation2;
}

.root.hasBackground:active {
  box-shadow: $elevation5;
}

.root::-moz-focus-inner {
  border: 0;
}

.fab {
  height: 56px;
  width: 56px;
  min-height: 56px;
  min-width: 56px;
  border-radius: 50%;
  margin: 8px;
  padding: 0;
  box-shadow: $elevation5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fab:active {
  box-shadow: $elevation10;
}

.label {
  display: inherit;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fab > .label {
  justify-content: center;
  width: 100%;
}

.isIcon {
  border-radius: 50%;
}

{'fraction_non_alphanumeric': 0.1483467381590706, 'fraction_numerical': 0.044682752457551385, 'mean_word_length': 3.3645224171539962, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1420275', 'n_tokens_mistral': 983, 'n_tokens_neox': 889, 'n_words': 204}