.qkd-text-copy {
  .oper {
    display: inline-block;
    width: 14px;
    min-height: 14px;
    margin-left: 4px;
    line-height: 100%;
    vertical-align: top;

    .ant-btn {
      display: none;
    }
  }

  .ant-btn-icon-only {
    &.ant-btn-sm {
      width: 14px;
      height: 14px;
      padding: 0;
      line-height: 100%;
      vertical-align: 0;

      & > * {
        font-size: 14px;
      }

      &:hover,
      &:focus {
        color: var(--ant-color-link);
        background: none;
      }
    }
  }

  &:focus,
  &:hover,
  &.icon-only,
  &.always-show {
    .oper {
      .ant-btn {
        display: block;
      }
    }
  }

  &.icon-only {
    .qkd-text-copy-text {
      display: none;
    }
  }
}
