feat: fix title wrap

This commit is contained in:
tim
2025-07-10 15:52:53 +08:00
parent 5763a37047
commit 86134a2a7c

View File

@@ -400,7 +400,6 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 10px;
width: 100%; width: 100%;
} }
@@ -431,13 +430,11 @@ export default {
} }
.article-item-title { .article-item-title {
margin-top: 10px;
font-size: 20px; font-size: 20px;
text-decoration: none; text-decoration: none;
color: var(--text-color); color: var(--text-color);
line-clamp: 1; max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.article-item-title:hover { .article-item-title:hover {
@@ -478,6 +475,13 @@ export default {
gap: 10px; gap: 10px;
} }
.article-main-container {
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.article-member-avatars-container { .article-member-avatars-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;