src/components/ReplyAttachmentList/ReplyAttachmentList.scss
.reply-attachment-list {
  display: flex;
  flex-direction: column;
  cursor: default;

  .reply-attachment {
    background-color: var(--gray-1);
    border-radius: 4px;
    cursor: pointer;
    pointer-events: auto;

    &:not(:last-child) {
      margin-bottom: 8px;
    }

    .reply-attachment-preview {
      width: 100%;
      max-height: 80px;
      display: flex;
      justify-content: center;

      &.dirty {
        position: relative;
        margin-bottom: 15px;
      }

      img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
      }

      .reply-attachment-preview-message {
        font-size: 11px;
        color: var(--error-text-color);
        position: absolute;
        inset-block-end: -15px;
        inset-inline-start: 10px;
      }
    }

    .reply-attachment-info {
      display: flex;
      align-items: center;
      height: 40px;
      padding: 8px;

      .reply-attachment-icon {
        height: 24px;
        min-height: 24px;
        width: 24px;
        min-width: 24px;
      }

      .reply-file-name {
        height: 16px;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-inline-start: 8px;
        margin-inline-end: 8px;
      }

      .attachment-button {
        height: 24px;
        min-height: 24px;
        width: 24px;
        min-width: 24px;

        &:hover {
          background-color: var(--blue-1);
        }

        .Icon {
          height: 16px;
          width: 16px;
        }
      }
    }
  }
}
