
.pickedListItem {
  @include listItem;
  display: flex;
  align-items: center;

  &:last-child {
    border-bottom: 0;
  }
}

  .pickedListItem__label {
    flex: 1 1 auto;
  }

  /**
   * 1. Align items horizontally to the right.
   */
  .pickedListItem__removeButton {
    $closeButtonSize: 10px;
    display: flex; /* 1 */
    justify-content: flex-end; /* 1 */
    flex: 0 0 auto;
    width: $closeButtonSize;
    height: $closeButtonSize;
    color: #517582;
    cursor: pointer;

    &:before,
    &:after {
      content: '';
      width: 2px;
      height: $closeButtonSize;
      background-color: #517582;
      position: absolute;
      margin-left: -$closeButtonSize / 2;
    }

    &:before {
      transform: rotate(45deg);
    }

    &:after {
      transform: rotate(-45deg);
    }

    &:hover {
      opacity: 1;
    }
  }


.pickedListItemIcon {
  $iconSize: 13px;
  width: $iconSize;
  height: $iconSize;
  margin-right: 4px;
}


.pickedListItem {
  @include listItem;
  display: flex;
  align-items: center;

  &:last-child {
    border-bottom: 0;
  }
}

  .pickedListItem__label {
    flex: 1 1 auto;
  }

  /**
   * 1. Align items horizontally to the right.
   * 2. Position remove button icon absolutely.
   */
  .pickedListItem__removeButton {
    $closeButtonSize: 10px;
    display: flex; /* 1 */
    justify-content: flex-end; /* 1 */
    flex: 0 0 auto;
    position: relative; /* 2 */
    width: $closeButtonSize;
    height: $closeButtonSize;
    color: #517582;
    cursor: pointer;

    &:before,
    &:after {
      content: '';
      width: 2px;
      height: $closeButtonSize;
      background-color: #517582;
      position: absolute;
      margin-left: -$closeButtonSize / 2;
    }

    &:before {
      transform: rotate(45deg);
    }

    &:after {
      transform: rotate(-45deg);
    }

    &:hover {
      opacity: 1;
    }
  }


.pickedListItemIcon {
  $iconSize: 13px;
  width: $iconSize;
  height: $iconSize;
  margin-right: 4px;
}

Fix positioning bug with PickedListItem remove button.
[BT-507]: Fix positioning bug with PickedListItem remove button.
