浏览代码

Fix: Make Toast Fixed & Increase Z-Index (#2850)

Miles Murgaw 10 月之前
父节点
当前提交
668d5415c8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/cli/assets/toast.html

+ 2 - 2
packages/cli/assets/toast.html

@@ -14,12 +14,12 @@
     padding-right: 10px;
     user-select: none;
     transition: transform 0.2s ease;
-    overflow: hidden;
+    z-index: 2147483647;
   }
 
   .dx-toast .dx-toast-inner {
     transition: right 0.2s ease-out;
-    position: relative;
+    position: fixed;
 
     background-color: #181B20;
     color: #ffffff;