Browse Source

Merge pull request '精选项目描述内容超出两行内容省略号显示' (#1228) from fix-981 into V20211228

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1228
Reviewed-by: liuzx <liuzx@pcl.ac.cn>
V20211228
liuzx 3 years ago
parent
commit
3750ade58e
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      templates/org/select_pro.tmpl

+ 12
- 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">
@@ -79,7 +89,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