Ver Fonte

docs:“设备名称文本样式优化”

soobin há 1 ano atrás
pai
commit
e255969bd9
1 ficheiros alterados com 12 adições e 6 exclusões
  1. 12 6
      src/styles/orderCenter/index.less

+ 12 - 6
src/styles/orderCenter/index.less

@@ -471,18 +471,24 @@
             .word11 {
               height: 14px;
               width: 4.5rem;
-              overflow-wrap: break-word;
+              // overflow-wrap: break-word;
               color: rgba(64, 77, 116, 1);
               font-size: 14px;
-              white-space: nowrap;
+              // white-space: nowrap;
               line-height: 14px;
-              margin-top: 10px;
-              overflow: hidden;
-              text-overflow: ellipsis;
-              white-space: nowrap;
+              margin-top: 5px;
+              // overflow: hidden;
+              // text-overflow: ellipsis;
               display: block;
             }
 
+            // .word11::before {
+            //   content: ''; /* 添加一个空格 */
+            //   display: inline-block;
+            //   width: auto;
+            //   margin-bottom: 10px; /* 设置间距 */
+            // }
+
             .van-card__bottom {
               height: 80px;
               width: 200px;