Browse Source

fix modal z-index

AykutSarac 2 years ago
parent
commit
59059a3db0
2 changed files with 1 additions and 5 deletions
  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;
   align-items: center;
   background: rgba(0, 0, 0, 0.85);
-  z-index: 6;
+  z-index: 36;
 
   * {
     box-sizing: border-box;

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

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