<commit_before>@import "../lib.less";

.@{veui-prefix}-tooltip {
  @arrow-size: @dls-tooltip-arrow-width;
  @arrow-side: @arrow-size / sqrt(2);
  @arrow-indent: @dls-tooltip-arrow-spacing;
  @gap: @dls-tooltip-target-spacing + @arrow-size / 2;

  position: relative;
  padding: @dls-tooltip-padding-y @dls-tooltip-padding-x;
  background-color: @dls-tooltip-background-color-normal;
  color: @dls-tooltip-font-color-normal;
  line-height: @dls-tooltip-line-height;
  border-radius: @dls-tooltip-border-radius;
  max-width: @dls-tooltip-max-width;
  font-size: @dls-tooltip-font-size;
  box-shadow: @dls-tooltip-shadow-normal;
  pointer-events: all;

  &-box-transparent {
    pointer-events: none;
  }

  &-arrow {<commit_msg>fix: prevent content exceeding tooltip boundaries (#756)<commit_after>@import "../lib.less";

.@{veui-prefix}-tooltip {
  @arrow-size: @dls-tooltip-arrow-width;
  @arrow-side: @arrow-size / sqrt(2);
  @arrow-indent: @dls-tooltip-arrow-spacing;
  @gap: @dls-tooltip-target-spacing + @arrow-size / 2;

  position: relative;
  padding: @dls-tooltip-padding-y @dls-tooltip-padding-x;
  background-color: @dls-tooltip-background-color-normal;
  color: @dls-tooltip-font-color-normal;
  line-height: @dls-tooltip-line-height;
  border-radius: @dls-tooltip-border-radius;
  max-width: @dls-tooltip-max-width;
  font-size: @dls-tooltip-font-size;
  box-shadow: @dls-tooltip-shadow-normal;
  pointer-events: all;

  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;

  &-box-transparent {
    pointer-events: none;
  }

  &-arrow {
{'fraction_non_alphanumeric': 0.1748564135290364, 'fraction_numerical': 0.004467134652201659, 'mean_word_length': 3.8395061728395063, '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': '7479468', 'n_tokens_mistral': 607, 'n_tokens_neox': 583, 'n_words': 90}