소스 검색

修改样式

lex-wxl 1 주 전
부모
커밋
15735a683c
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      src/components/VipPurchaseModal/index.module.less

+ 5 - 4
src/components/VipPurchaseModal/index.module.less

@@ -31,16 +31,17 @@
     margin-bottom: 32px;
     justify-content: center;
 
-    // 当最后一行不满时,让元素靠右对齐
+    // 让最后一行居中显示
+    &::before,
     &::after {
       content: '';
-      flex: auto;
-      min-width: 280px;
+      width: 260px;
+      order: 1;
     }
   }
 
   .packageItem {
-    min-width: 280px;
+    min-width: 260px;
     padding: 40px 32px;
     background: linear-gradient(180deg, #f8f9fc 0%, #f0f2f5 100%);
     border-radius: 20px;