浏览代码

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;
   font-weight: 500;
   border-radius: 3px 0 0 0;
   border-radius: 3px 0 0 0;
   opacity: 0.8;
   opacity: 0.8;
+
+  @media only screen and (max-width: 768px) {
+    font-size: 12px;
+  }
 `;
 `;
 
 
 function inIframe() {
 function inIframe() {