소스 검색

make attribute smaller on mobile

AykutSarac 2 년 전
부모
커밋
a873d2d237
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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() {