浏览代码

feat: 调整首页常用功能小尺寸下字体大小

zhangyuhan 2 年之前
父节点
当前提交
8930d4ddfd
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 3 0
      src/components/work-desktop/CommonUse.vue
  2. 3 0
      src/views/workspace/components/CommonUse.vue

+ 3 - 0
src/components/work-desktop/CommonUse.vue

@@ -217,6 +217,9 @@ export default {
       font-size: 14px;
       line-height: 20px;
       color: #1D1D1D;
+      @media only screen and (max-width: 1200px) {
+        font-size: 12px;
+      }
     }
     .item-img{
       width: 44px;

+ 3 - 0
src/views/workspace/components/CommonUse.vue

@@ -219,6 +219,9 @@ $main: #2cb7ca;
     font-size: 14px;
     line-height: 20px;
     color: #1D1D1D;
+    @media only screen and (max-width: 1200px) {
+      font-size: 12px;
+    }
   }
   .item-img{
     width: 44px;