<commit_before>// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP

.#{$grommet-namespace}select {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.#{$grommet-namespace}select__input {
  @include input();
  padding-right: round($inuit-base-spacing-unit * 2.5);
  cursor: inherit;
  color: inherit;

  &:disabled {
    color: $text-color;

    #{$dark-background-context} {
      color: $colored-text-color;
    }

    #{$light-background-context} {
      color: $text-color;
    }
  }
}

.#{$grommet-namespace}select__input:focus {
  padding-right: round($inuit-base-spacing-unit * 2.5 -
    ($input-border-width + 1));
}

// Disable IE's clear icon
.#{$grommet-namespace}select__input::-ms-clear {
  display: none;
}

.#{$grommet-namespace}select__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: quarter($inuit-base-spacing-unit);
}

.#{$grommet-namespace}select__search {
  width: 100%;
}

.#{$grommet-namespace}select__options {
  margin: 0px;
  list-style-type: none;
}

.#{$grommet-namespace}select__option {
  padding: quarter($inuit-base-spacing-unit) 0;
  cursor: pointer;
}

.#{$grommet-namespace}select__drop {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;

  .#{$grommet-namespace}select__option {
    padding: quarter($inuit-base-spacing-unit) $inuit-base-spacing-unit;

    &:hover,
    &--active {
      background-color: $hover-background-color;
    }
  }
}
<commit_msg>Changed Select to fix a styling issue when horizontal real estate is compressed.<commit_after>// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP

.#{$grommet-namespace}select {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.#{$grommet-namespace}select__input {
  @include input();
  padding-right: round($inuit-base-spacing-unit * 2.5);
  cursor: inherit;
  color: inherit;
  max-width: 100%;

  &:disabled {
    color: $text-color;

    #{$dark-background-context} {
      color: $colored-text-color;
    }

    #{$light-background-context} {
      color: $text-color;
    }
  }
}

.#{$grommet-namespace}select__input:focus {
  padding-right: round($inuit-base-spacing-unit * 2.5 -
    ($input-border-width + 1));
}

// Disable IE's clear icon
.#{$grommet-namespace}select__input::-ms-clear {
  display: none;
}

.#{$grommet-namespace}select__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: quarter($inuit-base-spacing-unit);
}

.#{$grommet-namespace}select__search {
  width: 100%;
}

.#{$grommet-namespace}select__options {
  margin: 0px;
  list-style-type: none;
}

.#{$grommet-namespace}select__option {
  padding: quarter($inuit-base-spacing-unit) 0;
  cursor: pointer;
}

.#{$grommet-namespace}select__drop {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;

  .#{$grommet-namespace}select__option {
    padding: quarter($inuit-base-spacing-unit) $inuit-base-spacing-unit;

    &:hover,
    &--active {
      background-color: $hover-background-color;
    }
  }
}

{'fraction_non_alphanumeric': 0.16545574636723911, 'fraction_numerical': 0.016842800528401584, 'mean_word_length': 3.7254290171606863, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5384571', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1056, 'n_words': 182}