.machine-view__scale-up {
  margin-bottom: 20px;

  &-units {
    margin: 0 10px;
    list-style: none;
  }

  &-unit {
    padding: 10px;
    border-bottom: 1px dotted $mid-grey;
    margin-bottom: 0;
  }

  &-unit-icon {
    width: 24px;  // Connected to the unit name width calc.
    height: 24px;
    margin-right: 10px;  // Connected to the unit name width calc.
  }

  &-unit-name {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    // Leave space for width + padding/margin of icon and input.
    width: calc(100% - 34px - 67px);
  }

  &-unit-input[type="number"] {
    float: right;
    margin-top: -2px;
    margin-left: 10px;  // Connected to the unit name width calc.
    padding-bottom: 4px;
    padding-top: 4px;
    text-align: right;
    width: 57px;  // Connected to the unit name width calc.
  }
}

.machine-view__scale-up {
  margin-bottom: 20px;

  &-units {
    margin: 0 10px;
    list-style: none;
  }

  &-unit {
    padding: 10px;
    border-bottom: 1px dotted $mid-grey;
    margin-bottom: 0;
  }

  &-unit-icon {
    width: 24px;  // Connected to the unit name width calc.
    height: 24px;
    margin-right: 10px;  // Connected to the unit name width calc.
  }

  &-unit-name {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    // Leave space for width + padding/margin of icon and input.
    width: calc(100% - 34px - 67px);
  }

  &-unit-input[type="number"] {
    float: right;
    margin-top: -2px;
    margin-left: 10px;  // Connected to the unit name width calc.
    padding-bottom: 4px;
    padding-top: 4px;
    padding-left: 6px
    text-align: right;
    width: 57px;  // Connected to the unit name width calc.
  }
}

Fix the scale up inputs on Firefox on OSX.
Fix the scale up inputs on Firefox on OSX.
