@charset 'utf-8';

@mixin ellipsis($row) {
  overflow: hidden;
  text-overflow: ellipsis;
  @if $row == 1 {
    display: block;
    white-space: nowrap;
    word-wrap: normal;
  } @else if $row >= 2 {
    display: -webkit-box;
    -webkit-line-clamp: $row;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
  }
}

.bubble-main {
  padding: 14px;
  text-align: left;
  .content {
    max-width: 250px;
    @include ellipsis(1);
  }
}

.btn-box {
  border-top: 1px solid #dddddd;
  height: 40px;
  .mat-button {
    width: 100%;
    display: block;
  }
}
