/**
 *
 * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). 
 * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc..  
 * 
 * This source code is licensed under the Apache license.
 * See LICENSE file in the project root for license information.
 *
 */
@input-number-group-prefix-cls: ~'@{ant-prefix}-input-number-group';

.@{input-number-group-prefix-cls} {

  &-wrap {
    display: flex;
    align-items: center;

    .@{input-number-group-prefix-cls}-start,
    .@{input-number-group-prefix-cls}-end {
      width: 100px;
    }
  }

  &-join {
    margin-left: 4px;
    margin-right: 4px;
  }
}

.@{ant-prefix}-label-wrapper {
  .@{input-number-group-prefix-cls} {

    &-wrap {
      .@{input-number-group-prefix-cls}-start,
      .@{input-number-group-prefix-cls}-end {
        min-width: 0;
        width: auto;
        flex: 1 1 auto;
      }

      .@{ant-prefix}-input-number-handler-wrapper {
        flex-shrink: 1;
      }
    }
  }
}
