Sfoglia il codice sorgente

chore(styles): 添加全局“省略文本”样式

wangcong 3 mesi fa
parent
commit
26e95ab976
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      src/styles/global.scss

+ 6 - 0
src/styles/global.scss

@@ -45,3 +45,9 @@
     display: none;
   }
 }
+
+.ellipsis-text {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}