style(knowledge): 优化知识库卡片样式

- 调整内容标题高度,优化多行显示顶部对齐
- 设置文件夹卡片内容对齐方式,使内容
This commit is contained in:
陈昱达
2025-04-23 09:55:28 +08:00
parent 82a8c230fe
commit 8f55224c91

View File

@@ -234,6 +234,8 @@ export default {
padding: 20px 20px 0; padding: 20px 20px 0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: start;
//align-items: center; //align-items: center;
.folder-content { .folder-content {
@@ -282,6 +284,7 @@ export default {
text-align: left; text-align: left;
font-style: normal; font-style: normal;
height: 35px;
margin: 0; margin: 0;
display: -webkit-box; // 支持多行省略 display: -webkit-box; // 支持多行省略
-webkit-line-clamp: 2; // 限制为两行 -webkit-line-clamp: 2; // 限制为两行