From d9b5f53ff6dc99431565feeb10e54e9a3eac242d Mon Sep 17 00:00:00 2001 From: wangjr Date: Tue, 28 Dec 2021 15:26:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A4=9A=E8=A1=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E7=9C=81=E7=95=A5=E5=8F=B7=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/org/select_pro.tmpl | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/templates/org/select_pro.tmpl b/templates/org/select_pro.tmpl index 7c6e7ef56a..42ede8b2a1 100755 --- a/templates/org/select_pro.tmpl +++ b/templates/org/select_pro.tmpl @@ -30,9 +30,9 @@ .descript_height{ color: #101010 !important; margin: 10px 0; - height: 40px !important; + /* height: 40px !important; */ word-break:break-all; - line-height: 20px; + /* line-height: 20px; */ overflow: hidden; /* overflow: hidden!important; word-wrap:break-word!important; */ @@ -52,6 +52,16 @@ /deep/ ui.checkbox input[type=checkbox]::after{ border: 1px solid #0366D6 !important; } + .nowrap-2 { + height: 2.837em; + line-height: 1.4285em; + overflow: hidden; + overflow: hidden; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + } +
@@ -60,6 +70,12 @@ 精选项目 +
+ + +
{{if .IsOrganizationOwner}} {{svg "octicon-gear" 16}}自定义 @@ -79,7 +95,8 @@ -
+ +
{{.Description}}
-- 2.34.1 From 88bcec12340faf39d9486eabd1973f4d9e5d664e Mon Sep 17 00:00:00 2001 From: wangjr Date: Tue, 28 Dec 2021 15:29:52 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=A4=E8=A1=8C=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E7=9C=81=E7=95=A5=E5=8F=B7=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/org/select_pro.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/org/select_pro.tmpl b/templates/org/select_pro.tmpl index 42ede8b2a1..b38a8cec0b 100755 --- a/templates/org/select_pro.tmpl +++ b/templates/org/select_pro.tmpl @@ -30,9 +30,9 @@ .descript_height{ color: #101010 !important; margin: 10px 0; - /* height: 40px !important; */ + height: 40px !important; word-break:break-all; - /* line-height: 20px; */ + line-height: 20px; overflow: hidden; /* overflow: hidden!important; word-wrap:break-word!important; */ @@ -53,8 +53,8 @@ border: 1px solid #0366D6 !important; } .nowrap-2 { - height: 2.837em; - line-height: 1.4285em; + /* height: 2.837em; */ + /* line-height: 1.4285em; */ overflow: hidden; overflow: hidden; display: -webkit-box; -- 2.34.1