<commit_before>.menu {
  position: absolute;
  z-index: z(menu);
  background-color: white;
  box-shadow: 0 4px 20px 1px rgba(0, 0, 0, .3);
  border-radius: 4px;
  border: 1px solid transparent;
  padding: 4px 0;
  > li > hr {
    margin-top: 4px;
    margin-bottom: 4px;
  }
}

.menu {
  &.top-down.to-right {
    .menu-item > .menu {
      top: 0;
      left: 100%;
      right: initial;
      bottom: initial;
      margin-top: -4px;
    }
  }
  &.top-down.to-left {
    .menu-item > .menu {
      top: 0;
      right: 100%;
      left: initial;
      bottom: initial;
      margin-top: -4px;
    }
  }
  &.bottom-up.to-right {
    .menu-item > .menu {
      bottom: 0;
      left: 100%;
      right: initial;
      top: initial;
      margin-bottom: -4px;
    }
  }
  &.bottom-up.to-left {
    .menu-item > .menu {
      bottom: 0;
      right: 100%;
      left: initial;
      top: initial;
      margin-bottom: -4px;
    }
  }
}

.menu-item {
  position: relative;
}

.menu-item-name {
  word-break: break-all;
  word-wrap: break-word;
}
.menu-item-container {
  display: flex;
  min-width: 140px;
  padding: 4px 15px;
  cursor: default;
  &.active {
    background-color: $background-color-highlight;
    color: $text-color-highlight;
  }
  &.disabled, &.active.disabled {
    background-color: transparent;
    color: $text-color-subtle;
  }

  > div {
    display: inline-block;
    white-space: nowrap;
  }

  .menu-item-shortcut {
    margin-left: auto;
    margin-right: -6px;
  }
}<commit_msg>修改shortcut样式<commit_after>.menu {
  position: absolute;
  z-index: z(menu);
  background-color: white;
  box-shadow: 0 4px 20px 1px rgba(0, 0, 0, .3);
  border-radius: 4px;
  border: 1px solid transparent;
  padding: 4px 0;
  > li > hr {
    margin-top: 4px;
    margin-bottom: 4px;
  }
}

.menu {
  &.top-down.to-right {
    .menu-item > .menu {
      top: 0;
      left: 100%;
      right: initial;
      bottom: initial;
      margin-top: -4px;
    }
  }
  &.top-down.to-left {
    .menu-item > .menu {
      top: 0;
      right: 100%;
      left: initial;
      bottom: initial;
      margin-top: -4px;
    }
  }
  &.bottom-up.to-right {
    .menu-item > .menu {
      bottom: 0;
      left: 100%;
      right: initial;
      top: initial;
      margin-bottom: -4px;
    }
  }
  &.bottom-up.to-left {
    .menu-item > .menu {
      bottom: 0;
      right: 100%;
      left: initial;
      top: initial;
      margin-bottom: -4px;
    }
  }
}

.menu-item {
  position: relative;
}

.menu-item-name {
  word-break: break-all;
  word-wrap: break-word;
}
.menu-item-container {
  display: flex;
  min-width: 140px;
  padding: 4px 15px;
  cursor: default;
  &.active {
    background-color: $background-color-highlight;
    color: $text-color-highlight;
  }
  &.disabled, &.active.disabled {
    background-color: transparent;
    color: $text-color-subtle;
  }

  > div {
    display: inline-block;
    white-space: nowrap;
  }

  .menu-item-shortcut {
    margin-left: 10px;
    margin-right: -6px;
  }
}
{'fraction_non_alphanumeric': 0.15543008967120558, 'fraction_numerical': 0.028561939554965127, 'mean_word_length': 1.9851337958374629, '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': '6617738', 'n_tokens_mistral': 1249, 'n_tokens_neox': 1164, 'n_words': 246}