瀏覽代碼

fix modal z-index

AykutSarac 2 年之前
父節點
當前提交
59059a3db0
共有 2 個文件被更改,包括 1 次插入5 次删除
  1. 1 1
      src/components/Modal/styles.tsx
  2. 0 4
      src/containers/Editor/styles.tsx

+ 1 - 1
src/components/Modal/styles.tsx

@@ -15,7 +15,7 @@ export const ModalWrapper = styled.div`
   justify-content: center;
   justify-content: center;
   align-items: center;
   align-items: center;
   background: rgba(0, 0, 0, 0.85);
   background: rgba(0, 0, 0, 0.85);
-  z-index: 6;
+  z-index: 36;
 
 
   * {
   * {
     box-sizing: border-box;
     box-sizing: border-box;

+ 0 - 4
src/containers/Editor/styles.tsx

@@ -20,8 +20,4 @@ export const StyledEditor = styled(Allotment)`
   position: relative !important;
   position: relative !important;
   display: flex;
   display: flex;
   background: ${({ theme }) => theme.BACKGROUND_SECONDARY};
   background: ${({ theme }) => theme.BACKGROUND_SECONDARY};
-
-  div[class*="sash-module_sash"] {
-    z-index: 3;
-  }
 `;
 `;