Эх сурвалжийг харах

Merge branch 'dev/1.0.24_zsy' of jianyu/web into feature/v1.0.24

yangfeng 1 жил өмнө
parent
commit
f5e126df4d

+ 10 - 4
packages/work-bench-frame/packages/components/Navbar/index.vue

@@ -585,15 +585,21 @@ export default {
   .customer-container{
     // display: none;
     position: fixed;
-    right: 84px;
-    top: 50%;
+     right: 84px;
+    bottom: 80px;
+    max-height: 674px;
+    min-height: 400px;
     width: 460px;
-    height: 674px;
-    transform: translateY(-50%);
+    height: calc(100% - 40px);
     box-shadow: 0 0 20px 0 rgba(8, 31, 38, 0.12);
     border-radius: 8px;
     overflow: hidden;
     z-index: 9999;
   }
+  @media screen and (max-height: 800px) {
+    .customer-container{
+      bottom: 20px;
+    }
+  }
 }
 </style>