shish 2 miesięcy temu
rodzic
commit
88833dca1f
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      mallApp/src/pages/home/category.vue

+ 6 - 0
mallApp/src/pages/home/category.vue

@@ -517,12 +517,18 @@ page {
     width: 200upx;
     width: 200upx;
     height: 110upx;
     height: 110upx;
     box-sizing: border-box;
     box-sizing: border-box;
+    padding-left: 2upx;
+    padding-right: 2upx;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     font-size: 28upx;
     font-size: 28upx;
     color: #444;
     color: #444;
     font-weight: 400;
     font-weight: 400;
+    text {
+      width: 100%;
+      text-align: center;
+    }
   }
   }
   .active {
   .active {
     position: relative;
     position: relative;