wzh 4 년 전
부모
커밋
faa7d5faa3
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  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 {