liushengqiang 1 éve
szülő
commit
6485d504ee
1 módosított fájl, 4 hozzáadás és 3 törlés
  1. 4 3
      src/page-instrument/view-detail/index.module.less

+ 4 - 3
src/page-instrument/view-detail/index.module.less

@@ -109,9 +109,10 @@
         }
 
         .pcTitle {
-            flex: 1;
-            width: auto;
-            margin-left: auto;
+            position: absolute;
+            left: 50%;
+            top: 50%;
+            transform: translate(-50%, -50%);
 
             .van-notice-bar__wrap {
                 justify-content: center;