优化细节✅

This commit is contained in:
Han
2025-04-04 14:04:24 +08:00
parent 38c449e71e
commit 70ffbfd80c
12 changed files with 103 additions and 74 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ import "./Archive.less";
<a href={`/article/${_.id}`}>
<em>{fmtTime(_.date, "MM-DD")}</em>
<i />
<span>{_.title}</span>
<cite>{_.tags.map((tag: string) => `#${tag}`).join(" ")}</cite>
<span class="vh-ellipsis">{_.title}</span>
<cite class="vh-ellipsis">{_.tags.map((tag: string) => `#${tag}`).join(" ")}</cite>
</a>
))}
</div>
-6
View File
@@ -110,11 +110,8 @@ section.vh-archive-main {
&>span {
flex: 1;
white-space: nowrap;
overflow: hidden;
color: var(--vh-font-66);
font-weight: 500;
text-overflow: ellipsis;
transition: all .18s;
}
@@ -125,9 +122,6 @@ section.vh-archive-main {
color: var(--vh-font-66);
font-weight: 400;
font-style: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}