Browse Source

fix(@vben/styles): 修复弹窗内 tooltip 层级被遮挡问题 (#8240)

将 antd-tooltip 的 z-index 提升至 2001,避免在 Modal/弹窗等高 z-index 容器内的 tooltip 被遮挡
pull/8243/head
JyQAQ 2 months ago
committed by GitHub
parent
commit
e8d35a7471
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      packages/styles/src/antdv-next/index.css

5
packages/styles/src/antdv-next/index.css

@ -78,3 +78,8 @@
.ant-app .form-valid-error .ant-picker-focused { .ant-app .form-valid-error .ant-picker-focused {
box-shadow: 0 0 0 2px rgb(255 38 5 / 6%); box-shadow: 0 0 0 2px rgb(255 38 5 / 6%);
} }
/** 弹窗内tooltip层级问题 */
.css-var-root.ant-tooltip-css-var {
--ant-tooltip-z-index-popup: 2001;
}

Loading…
Cancel
Save