mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 21:07:17 +00:00
optimize long text formatter (#7973)
Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 4;
|
||||
line-clamp: 4;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* links */
|
||||
|
@@ -62,8 +62,7 @@
|
||||
|
||||
.dirent-detail-item-value:not(.editable) .sf-metadata-long-text-formatter {
|
||||
line-height: 1.5;
|
||||
height: 34px;
|
||||
display: inline-block;
|
||||
padding: 7px 6px 0;
|
||||
}
|
||||
|
||||
.dirent-detail-item-value:not(.editable) .sf-metadata-rate-formatter {
|
||||
|
@@ -126,9 +126,13 @@
|
||||
max-height: 68px;
|
||||
}
|
||||
|
||||
.sf-metadata-kanban-card .long-text-formatter,
|
||||
.sf-metadata-view-kanban-boards-text-wrap .sf-metadata-kanban-card-record .long-text-formatter {
|
||||
display: block;
|
||||
height: auto;
|
||||
max-height: 68px;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
overflow: hidden;
|
||||
line-height: 1.5;
|
||||
white-space: normal;
|
||||
}
|
||||
|
@@ -148,6 +148,7 @@
|
||||
|
||||
.sf-metadata-result-table-cell .sf-metadata-long-text-formatter {
|
||||
width: 100%;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.sf-metadata-result-table-cell .geolocation-formatter,
|
||||
|
Reference in New Issue
Block a user