Explorar el Código

make attribute smaller on mobile

AykutSarac hace 2 años
padre
commit
a873d2d237
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/pages/Widget/index.tsx

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

@@ -22,6 +22,10 @@ const StyledAttribute = styled.a`
   font-weight: 500;
   border-radius: 3px 0 0 0;
   opacity: 0.8;
+
+  @media only screen and (max-width: 768px) {
+    font-size: 12px;
+  }
 `;
 
 function inIframe() {