Explorar o código

fix incompatible device warning

AykutSarac %!s(int64=2) %!d(string=hai) anos
pai
achega
aa75f74496
Modificáronse 2 ficheiros con 1 adicións e 4 borrados
  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;
     height: 100vh;
     justify-content: center;
     justify-content: center;
     align-items: center;
     align-items: center;
+    z-index: 200;
 
 
     button {
     button {
       margin-top: 60px;
       margin-top: 60px;

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

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