/**
 * 这里主要是
 * - 处理tailwindcss与 antd 一起用的时候的兼容问题
 * - 与重写部分antd的样式
 */

.ant-message .anticon {
  vertical-align: text-top;
}

.ant-typography-expand, .ant-typography-copy {
  vertical-align: text-bottom;
}

.ant-input:hover, .ant-input:focus, .ant-input-focused {
  border-right-width: inherit !important;
}

.ant-tooltip {
  .ant-tooltip-inner {
    background-color: black;
  }
}

.ant-image {
  .ant-image-mask {
    overflow: hidden;
  }
}

.ant-image-preview-img {
  display: inline;
}

.ant-dropdown-menu {
  padding: 6px 8px;
  min-width: 200px;
  max-width: none;

  .ant-dropdown-menu-item {
    padding: 6px 8px;
    min-height: 32px;
  }
}
