#1227 精选项目描述内容两行隐藏内容省略号显示

Closed
wangjr wants to merge 2 commits from fix-981 into V20211228
  1. +18
    -1
      templates/org/select_pro.tmpl

+ 18
- 1
templates/org/select_pro.tmpl View File

@@ -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;
}


</style>
<div class="ui stackable grid">
@@ -60,6 +70,12 @@
<span class="header">
精选项目
</span>
<div class="ui checkbox" style="width: 33%;margin-bottom:10px" >
<input type="checkbox" id = " ${i}" checked="" onclick="checkedNum(${i})" class="Relist" >
<label><a class='omit image poping up' data-content=登记反馈  data-position="top left " data-variation="mini inverted"> 特是</a>

</label>
</div>
<!-- {{.IsOrganizationOwner}} -->
{{if .IsOrganizationOwner}}
<a class="text-right" id="model" onclick="showcreate()" >{{svg "octicon-gear" 16}}自定义</a>
@@ -79,7 +95,8 @@
<div class=" header header_card omit" >
<a class="header_card image poping up " href="{{.Link}}" data-content="{{.Name}}" data-position="top left" data-variation="tiny inverted"> {{.Name}}</a>
</div>
<div class='content descript_height'>
<div class='content descript_height nowrap-2'>
{{.Description}}
</div>


Loading…
Cancel
Save