feat: Modify the layout of news items Add the function of expanding or contracting after clicking on them

This commit is contained in:
Kaiwen Gong 2024-07-18 17:33:59 +08:00
parent 460c523633
commit 0590864b6f
4 changed files with 118 additions and 40 deletions

View file

@ -10,4 +10,12 @@
.overflow-hidden-scrollable::-webkit-scrollbar {
display: none;
}
.line-clamp-3-5 {
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
}