Browse Source

feat: 两行文字样式

lxf 1 day ago
parent
commit
f5a972308f
1 changed files with 10 additions and 0 deletions
  1. 10 0
      static/style/common.scss

+ 10 - 0
static/style/common.scss

@@ -16,4 +16,14 @@
 @font-face {
   font-family: "PangMenZhengDao";
   src: url("https://birdseye-img.sysuimars.com/youwei-uniapp/font/PangMenZhengDao.TTF");
+}
+
+.ellipsis-l2 {
+	white-space: pre-line;
+	overflow: hidden;
+	text-overflow: ellipsis;
+    word-break: break-all;
+	display: -webkit-box !important;
+    -webkit-line-clamp: 2;
+    -webkit-box-orient: vertical !important;
 }