Przeglądaj źródła

hide producthunt embed on mobile

AykutSarac 3 lat temu
rodzic
commit
d19923fed6
1 zmienionych plików z 4 dodań i 0 usunięć
  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`