瀏覽代碼

fix incompatible device warning

AykutSarac 2 年之前
父節點
當前提交
aa75f74496
共有 2 個文件被更改,包括 1 次插入4 次删除
  1. 1 0
      src/containers/Incompatible/index.tsx
  2. 0 4
      src/pages/Editor/index.tsx

+ 1 - 0
src/containers/Incompatible/index.tsx

@@ -18,6 +18,7 @@ export const StyledIncompatible = styled.div`
     height: 100vh;
     justify-content: center;
     align-items: center;
+    z-index: 200;
 
     button {
       margin-top: 60px;

+ 0 - 4
src/pages/Editor/index.tsx

@@ -13,10 +13,6 @@ export const StyledPageWrapper = styled.div`
 export const StyledEditorWrapper = styled.div`
   width: 100%;
   overflow: hidden;
-
-  @media only screen and (max-width: 568px) {
-    display: none;
-  }
 `;
 
 const EditorPage: React.FC = () => {