From 7d511d4009c697645e0e840efd37d851217cacf3 Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Fri, 2 Aug 2024 16:38:35 +0800 Subject: [PATCH] uu --- common/custom.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/custom.scss b/common/custom.scss index 8014d71..0ed81e3 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -85,13 +85,20 @@ .w-full{ width: 100%; } -.text-singe-line { +.text-singe-line, .text-1-line { word-break: break-all; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } +.text-2-line { + word-break: break-all; + overflow: hidden; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; +} .label-text{ position: relative; display: inline-block;