瀏覽代碼

fix:“修复个人中心页面屏幕太小显示缺失的问题”

soobin 1 年之前
父節點
當前提交
24b5c93198
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/styles/user/index.less

+ 4 - 3
src/styles/user/index.less

@@ -3,6 +3,9 @@
     background: url(../../assets/user/bg.png) top center no-repeat;
     background-size: 100%;
     // position: relative;
+    height: calc(100% - 50px);
+    overflow: auto;
+    overflow-x: hidden;
 
     .simple-header {
         background: transparent;
@@ -10,11 +13,9 @@
 
     .userPageBox {
         width: 100%;
-        height: calc(100% - 50px);
         height: 100%;
         // margin-bottom: 100px;
-        overflow: auto;
-        overflow-x: hidden;
+
     }
 
     .userBaseBox {