.metadata-count-wrap {
  display: flex;
  align-items: center;
  min-height: 24px;
  &.mc-min-width {
    min-width: 124px;
  }
  .count-icon {
    font-size: 16px;
  }
  button.ant-btn {
    margin-left: 4px;
    padding: 1.6px 3px;
    &.ant-popover-open,
    &:active {
      color: #2869f6;
      background: rgba(40, 105, 246, 0.1);
      & > span {
        color: #2869f6;
        &::after {
          color: #2869f6;
        }
      }
    }
    &.ant-btn-icon-only {
      display: none;
      font-size: 16px;
      line-height: 16px;
      &.ant-btn-sm > * {
        font-size: 16px;
      }
    }
  }
  &:hover,
  &:focus {
    button.ant-btn.ant-btn-icon-only {
      display: block;
    }
  }
}
