From 86134a2a7cc6f876abec8ecc4911a9e5ab3f298b Mon Sep 17 00:00:00 2001 From: tim Date: Thu, 10 Jul 2025 15:52:53 +0800 Subject: [PATCH] feat: fix title wrap --- open-isle-cli/src/views/HomePageView.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/open-isle-cli/src/views/HomePageView.vue b/open-isle-cli/src/views/HomePageView.vue index 2985da13c..1afad9644 100644 --- a/open-isle-cli/src/views/HomePageView.vue +++ b/open-isle-cli/src/views/HomePageView.vue @@ -400,7 +400,6 @@ export default { display: flex; flex-direction: column; align-items: center; - gap: 10px; width: 100%; } @@ -431,13 +430,11 @@ export default { } .article-item-title { + margin-top: 10px; font-size: 20px; text-decoration: none; color: var(--text-color); - line-clamp: 1; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + max-width: 100%; } .article-item-title:hover { @@ -478,6 +475,13 @@ export default { gap: 10px; } +.article-main-container { + width: 100%; + display: flex; + flex-direction: column; + align-items: flex-start; +} + .article-member-avatars-container { display: flex; flex-direction: row;