<commit_before>@import '../../../css/settings/index.scss';
@import './CdrPopup.vars.scss';

.cdr-popup {
  opacity: 0;
  transition: opacity $animation-duration $timing-function;

  &--open {
    opacity: 1;
  }

  &--closed {
    opacity: 0;
  }

  &__content {
    animation-duration: $animation-duration;
    animation-timing-function: $timing-function;
    animation-fill-mode: forwards;
    background: $cdr-color-background-primary;
    border: 1px solid $cdr-color-border-secondary;
    min-width: 286px;
    position: absolute;
    z-index: 100;
  }

  &__arrow {
    &::before, &::after {
      content: '';
      position: absolute;<commit_msg>fix(popup): switch min-width to max-width to better handle shorter messages<commit_after>@import '../../../css/settings/index.scss';
@import './CdrPopup.vars.scss';

.cdr-popup {
  opacity: 0;
  transition: opacity $animation-duration $timing-function;

  &--open {
    opacity: 1;
  }

  &--closed {
    opacity: 0;
  }

  &__content {
    animation-duration: $animation-duration;
    animation-timing-function: $timing-function;
    animation-fill-mode: forwards;
    background: $cdr-color-background-primary;
    border: 1px solid $cdr-color-border-secondary;
    max-width: 286px;
    width: max-content;
    position: absolute;
    z-index: 100;
  }

  &__arrow {
    &::before, &::after {
      content: '';
      position: absolute;
{'fraction_non_alphanumeric': 0.15781922525107603, 'fraction_numerical': 0.014347202295552367, 'mean_word_length': 2.907563025210084, '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': '7546068', 'n_tokens_mistral': 491, 'n_tokens_neox': 465, 'n_words': 94}