fix: 审批摘要, 文案过长时候要换行(更换一行显示) (#1590)

Reviewed-on: daoyoucloud/tachybase#1590
Co-authored-by: wjh <wwwjh0710@163.com>
Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
wjh 2024-10-11 16:28:52 +08:00 committed by bai.zixv
parent b4a11fdc8e
commit d0e70a58fb
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@
white-space: pre-wrap; white-space: pre-wrap;
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; -webkit-line-clamp: 1;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }

View File

@ -19,7 +19,7 @@ const useStyles = createStyles(({ css }) => {
white-space: pre-wrap; white-space: pre-wrap;
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; -webkit-line-clamp: 1;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }