소스 검색

Merge branch '2023-8-28'

liushengqiang 2 년 전
부모
커밋
b12c2636dc
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 3
      src/page-instrument/view-detail/index.module.less
  2. 1 1
      src/view/fingering/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;

+ 1 - 1
src/view/fingering/index.module.less

@@ -4,7 +4,7 @@
   display: flex;
   justify-content: space-evenly;
   align-items: center;
-  padding: 0 10px 6px 10px;
+  padding: 0 10px 4px 10px;
   overflow: hidden;
 }