瀏覽代碼

解决message遮盖下面的元素的bug

Michael Wang 3 年之前
父節點
當前提交
deae5121db
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/styles/global.css

+ 4 - 0
src/styles/global.css

@@ -221,4 +221,8 @@ body {
 https://github.com/TuSimple/naive-ui/blob/cbc2940bd84ea74782b900d2efb2d5cbadedbe1a/src/message/src/styles/index.cssr.ts#L113 */
 .n-message-container {
   height: auto !important;
+  pointer-events: none;
+}
+.n-message-container * {
+  pointer-events: auto;
 }