<commit_before>page-amount {
  ion-content.content {
    background: white;
  }

  pin-pad {
    .row {
      ion-col.col {
        min-height: 60px;
      }
    }
  }

  .amount-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .amount-header-margin {
    margin: 2rem;
    margin-bottom: 0;
  }

  .next-button {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 200ms ease, transform 200ms ease;
    pointer-events: none;

    &.show {
      opacity: 1;
      pointer-events: all;
      transform: translateY(0);
    }
  }

  .amount-header {
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;

    .switcher {
      flex: 1;
      display: inline-flex;
      align-items: center;
      background: rgba(0, 0, 0, 0.06);
      padding: 0.75rem 1rem;
      border-radius: 3px;
      cursor: pointer;
      width: 81px;

      &__icon {
        margin-right: 10px;
      }

      &__label {
        color: #060606;
        font-size: 18px;
        margin-top: 1px;
      }
    }

    &__label {
      flex-grow: 1;
      text-align: center;
      position: absolute;
      width: 100%;
      font-size: 16px;
      pointer-events: none;
    }
  }

  .amount-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    // padding-top: 10px;
    // padding: 15% 16px 0 16px;
    // @media (max-height: 640px) {
    //   padding-top: 10%;
    // }
    // @media (max-height: 500px) {
    //   padding-top: 5%;
    // }
    .expression-container {
      display: flex;
      align-items: center;
      .expression {
        font-size: 50px;
        font-weight: 500;
        // @media (max-height: 640px) {
        //   font-size: 35px;
        // }
        // @media (max-height: 500px) {
        //   font-size: 25px;
        // }
      }
    }
    .amount {
      color: #a5a4a4;
      margin-left: 5px;
      margin-top: 5px;
    }
    .result {
      // color: color($colors, grey);
      margin-top: 20px;
      font-size: 15px;
      color: #4a4a4a;
    }
  }

  .footer::before {
    display: none;
  }
}<commit_msg>make amount page small screen friendly<commit_after>page-amount {
  ion-content.content {
    background: white;
  }

  pin-pad {
    .row {
      ion-col.col {
        min-height: 60px;
      }
    }
  }

  $short-screen: 500px;

  .amount-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .amount-header-margin {
    margin: 2rem;
    margin-bottom: 0;
    @media (max-height: $short-screen + 70px) {
      margin: 1.5rem;
      margin-bottom: 0;
      margin-top: 1rem;
    }
  }

  .next-button {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 200ms ease, transform 200ms ease;
    pointer-events: none;

    &.show {
      opacity: 1;
      pointer-events: all;
      transform: translateY(0);
    }
  }

  .amount-header {
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;

    .switcher {
      flex: 1;
      display: inline-flex;
      align-items: center;
      background: rgba(0, 0, 0, 0.06);
      padding: 0.75rem 1rem;
      border-radius: 3px;
      cursor: pointer;
      width: 81px;

      @media (max-height: $short-screen + 70px) {
        width: 75px;
      }

      &__icon {
        margin-right: 10px;
      }

      &__label {
        color: #060606;
        font-size: 18px;
        margin-top: 1px;
        @media (max-height: $short-screen + 70px) {
          font-size: 15px;
        }
      }
    }

    &__label {
      flex-grow: 1;
      text-align: center;
      position: absolute;
      width: 100%;
      font-size: 16px;
      pointer-events: none;
      @media (max-height: $short-screen) {
        font-size: 15px;
      }
    }
  }

  .amount-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    .expression-container {
      display: flex;
      align-items: center;
      .expression {
        font-size: 50px;
        font-weight: 500;

        @media (max-height: $short-screen) {
          font-size: 40px;
        }
      }
    }
    .amount {
      color: #a5a4a4;
      margin-left: 5px;
      margin-top: 5px;
    }
    .result {
      margin-top: 20px;
      font-size: 15px;
      color: #4a4a4a;
      @media (max-height: $short-screen) {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }

  .footer::before {
    display: none;
  }

  pin-pad {
    .row ion-col.col {
      min-height: 50px;
    }
  }
}
{'fraction_non_alphanumeric': 0.13667523564695802, 'fraction_numerical': 0.043059125964010285, 'mean_word_length': 1.6098378982671884, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7370964', 'n_tokens_mistral': 1842, 'n_tokens_neox': 1638, 'n_words': 351}