<commit_before>@import (reference) '../../../Style/App.less';

.Panel {
  &.compact > .Panel-Item,
  &.Grid.compact > .Grid-Row > .Grid-Column > .Panel-Item,
  &.Grid > .Grid-Row.compact > .Grid-Column > .Panel-Item,
  &.Grid > .Grid-Row > .Grid-Column.compact > .Panel-Item {
    padding: 0;
  }

  // display elements inline left aligned, but wrap within the container (normal)
  &.WrapPanel {
    text-align: left;
    white-space: normal;

    & > div {
      display: inline-block;
    }
  }

  &.ListGroupPanel {
    // disable the default react-bootstrap margin for ListGroup
    margin: 0;

    .Panel-Item {
      & > .NavButton {
        margin: -1 * @default-padding;

        .NavButton-content {
          padding: @default-padding;
        }
      }

      &:first-child > .NavButton > .btn {
        border-top-right-radius: @list-group-border-radius;
      }
<commit_msg>fixing styling issue where nav buttons negatively margin against a compact panel<commit_after>@import (reference) '../../../Style/App.less';

.Panel {
  &.compact > .Panel-Item,
  &.Grid.compact > .Grid-Row > .Grid-Column > .Panel-Item,
  &.Grid > .Grid-Row.compact > .Grid-Column > .Panel-Item,
  &.Grid > .Grid-Row > .Grid-Column.compact > .Panel-Item {
    padding: 0;
  }

  // display elements inline left aligned, but wrap within the container (normal)
  &.WrapPanel {
    text-align: left;
    white-space: normal;

    & > div {
      display: inline-block;
    }
  }

  &.ListGroupPanel {
    // disable the default react-bootstrap margin for ListGroup
    margin: 0;

    &:not(.compact) {
      .Panel-Item {
        & > .NavButton {
          margin: -1 * @default-padding;

          .NavButton-content {
            padding: @default-padding;
          }
        }
      }
    }

    .Panel-Item {
      &:first-child > .NavButton > .btn {
        border-top-right-radius: @list-group-border-radius;
      }

{'fraction_non_alphanumeric': 0.15243583027763227, 'fraction_numerical': 0.003143006809848088, 'mean_word_length': 2.0078740157480315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 31, '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': '5885568', 'n_tokens_mistral': 641, 'n_tokens_neox': 616, 'n_words': 137}