<commit_before>import styled from 'styled-components';

const Wrapper = styled.div`
  position: relative;
  -webkit-font-smoothing: antialiased;
  > div {
    height: 6rem;
    width: 100%;
    line-height: 5.8rem;
    z-index: 999;
    > button,
    > button.btn {
      position: relative;
      z-index: 9;
      width: 100%;
      padding-left: 20px;
      padding-right: 20px;
      background: white;
      border: none;
      border-radius: 0;
      color: #333740;
      font-size: 14px;
      font-weight: 500;
      text-align: right;
      cursor: pointer;
      transition: background 0.2s ease-out;

      &:hover,
      &:focus,
      &:active {
        color: #333740;
        background-color: #fafafb !important;
        z-index: 9;
      }

      > i,
      > svg {
        margin-left: 10px;
        transition: transform 0.3s ease-out;

        &[alt='true'] {
          transform: rotateX(180deg);
        }
      }
    }
  }

  &:after {
    position: absolute;
    right: -1px;
    top: calc(50% - 10px);
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    border-left: 1px solid #f3f4f4;
    transition: opacity 0.2s ease-out;
  }

  &:hover:after {
    opacity: 0;
  }

  .dropDownContent {
    z-index: 8;
    top: -3px !important;
    left: auto !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0;
    line-height: 1.8rem;
    border: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    font-size: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px 0px rgba(40, 42, 49, 0.05);
    &:active {
      outline: 0;
    }

    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: -1px;
      width: calc(100% + 1px);
      height: 3px;
      box-shadow: 0 1px 2px 0 rgba(40, 42, 49, 0.16);
    }

    > button {
      height: 54px;
      padding: 0px 15px;
      &:hover,
      &:focus,
      &:active {
        background-color: #fafafb !important;
        border-radius: 0px;
        cursor: pointer;
        outline: 0;
      }
      &:hover,
      &:active {
        color: #333740;
      }
    }

    > button:last-child {
      color: #f75b1d;
      > i,
      svg {
        margin-left: 10px;
      }
    }
  }

  .item {
    &:active {
      color: black;
    }
    &:hover {
      background-color: #fafafb !important;
    }
  }
`;

export default Wrapper;
<commit_msg>Fix dropdown size for the user (#9931)<commit_after>import styled from 'styled-components';

const Wrapper = styled.div`
  position: relative;
  -webkit-font-smoothing: antialiased;
  > div {
    height: 6rem;
    width: 100%;
    line-height: 5.8rem;
    z-index: 999;
    > button,
    > button.btn {
      position: relative;
      z-index: 9;
      width: 100%;
      padding-left: 20px;
      padding-right: 20px;
      background: white;
      border: none;
      border-radius: 0;
      color: #333740;
      font-size: 14px;
      font-weight: 500;
      text-align: right;
      cursor: pointer;
      transition: background 0.2s ease-out;

      &:hover,
      &:focus,
      &:active {
        color: #333740;
        background-color: #fafafb !important;
        z-index: 9;
      }

      > i,
      > svg {
        margin-left: 10px;
        transition: transform 0.3s ease-out;

        &[alt='true'] {
          transform: rotateX(180deg);
        }
      }
    }
  }

  &:after {
    position: absolute;
    right: -1px;
    top: calc(50% - 10px);
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    border-left: 1px solid #f3f4f4;
    transition: opacity 0.2s ease-out;
  }

  &:hover:after {
    opacity: 0;
  }

  .dropDownContent {
    z-index: 8;
    top: -3px !important;
    left: auto !important;
    min-width: 190px;
    margin: 0 !important;
    padding: 0;
    line-height: 1.8rem;
    border: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    font-size: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px 0px rgba(40, 42, 49, 0.05);
    &:active {
      outline: 0;
    }

    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: -1px;
      width: calc(100% + 1px);
      height: 3px;
      box-shadow: 0 1px 2px 0 rgba(40, 42, 49, 0.16);
    }

    > button {
      height: 54px;
      padding: 0px 15px;
      &:hover,
      &:focus,
      &:active {
        background-color: #fafafb !important;
        border-radius: 0px;
        cursor: pointer;
        outline: 0;
      }
      &:hover,
      &:active {
        color: #333740;
      }
    }

    > button:last-child {
      color: #f75b1d;
      > i,
      svg {
        margin-left: 10px;
      }
    }
  }

  .item {
    &:active {
      color: black;
    }
    &:hover {
      background-color: #fafafb !important;
    }
  }
`;

export default Wrapper;

{'fraction_non_alphanumeric': 0.13510228883937614, 'fraction_numerical': 0.05104314360947944, 'mean_word_length': 1.761744966442953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '6440993', 'n_tokens_mistral': 1996, 'n_tokens_neox': 1768, 'n_words': 415}