﻿// 目前僅用在選人
ion-chip {
  --background: #{get-color(gr-200)};
  padding: 8px;
  height: auto;
  line-height: initial;
  border-radius: 25px;
  span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  ion-label {
    padding: 0 !important;
    max-width: initial !important;
  }
}

// 篩選的項目
.uofx-chips-block {
  background-color: get-color(gr-200);
  border-radius: 10px;
  min-height: 44px;
  width: 100%;
  // ios x 預設高度100%會有問題
  // height: 100%;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  @include text-type(2, b1, m);

  &.disabled {
    display: none;
  }

  &.selected {
    background-color: get-color(or-50);
    @include text-type(pr, b1, m);
  }
}
