.content {
  // padding-bottom: 50px;
  .scroll {
    overflow: hidden;
    padding-bottom: 50px;
  }
  .avatar {
    width: 40px;
    height: 40px;
  }
  .message-box {
    margin-bottom: 30px;
    .time-box {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 50px;
      font-size: 12px;
      color: #fff;
      .time {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        padding: 0 10px;
      }
    }
    .text-item {
      position: relative;
      line-height: 1.5;
      font-size: 16px;
      padding: 10px;
      max-width: 220px;
      border-radius: 4px;
      word-wrap: break-word;
      min-height: 40px;
      min-width: 40px;
    }
    .msg-bloak {
      display: flex;
      .text-item_left {
        background: #f1f1f1;
      }
      .text-item_left::before {
        content: "";
        position: absolute;
        left: -11px;
        top: calc(20px - 6px);
        border: 6px solid transparent;
        border-right-color: #f1f1f1;
        z-index: 20;
      }
      .text-item_right {
        background: #a2e65b;
      }
      .text-item_right::before {
        content: "";
        position: absolute;
        left: calc(100% - 1px);
        top: calc(20px - 6px);
        border: 6px solid transparent;
        border-left-color: #a2e65b;
      }
    }
    .self {
      justify-content: end;
    }
    .no_self {
      justify-content: start;
    }
    .text-item_status {
      // height: 40px;
      display: flex;
      align-items: center;
      // margin-right: 12px;
      font-size: 12px;
      color: #888;
    }

    .text-item_status--fail {
      color: red;
    }

    .text-item_status--success {
      color: #28bf39;
    }
  }
  .img-item {
    width: 140px;
    height: 100px;
    object-fit: contain;
  }
}
.footer-tool {
  .tools {
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    ion-icon {
      font-size: 30px;
    }
  }
}
.emoji-content {
  background: #fbfbfb;
  height: 160px;
  overflow-y: scroll;
  .emoji-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    .emoji-item {
      width: 30px;
      height: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      .emoji-img {
        width: 20px;
        height: 20px;
      }
    }
    .emoji-item__del {
      width: 30px;
      height: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      .emoji-img {
        width: 20px;
        height: 20px;
      }
    }
  }
}
ion-popover {
  --width: 150px;
}
.clear {
  font-size: 14px;
}
.fl {
  margin-right: 10px;
  float: left;
}

.fr {
  float: right;
  margin-left: 10px;
}
