Explorar el Código

hide producthunt embed on mobile

AykutSarac hace 3 años
padre
commit
d19923fed6
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/components/Producthunt/index.tsx

+ 4 - 0
src/components/Producthunt/index.tsx

@@ -5,6 +5,10 @@ const StyledProducthunt = styled.a`
   position: fixed;
   bottom: 12px;
   right: 12px;
+
+  @media only screen and (max-width: 768px) {
+    display: none;
+  }
 `;
 
 const StyledImage = styled.img`