wzh há 4 anos atrás
pai
commit
faa7d5faa3
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      src/components/IconInfo.vue

+ 4 - 2
src/components/IconInfo.vue

@@ -8,8 +8,8 @@
         </div>
         <div class="title">{{ item.title }}</div>
         <div class="text">
-          <span class="text1">{{ item.text }}</span
-          ><span class="text2">{{ item.unit || "" }}</span>
+          <span class="text1">{{ item.text }}</span>
+          <span class="text2">{{ item.unit || "" }}</span>
         </div>
       </div>
       <div class="short-line"></div>
@@ -81,6 +81,8 @@ export default {
   font-weight: 500;
   color: #ffffff;
   text-shadow: 0px 0px 16px rgba(100, 185, 255, 0.6);
+  white-space: nowrap;
+  overflow: hidden;
 }
 
 .title {