优化细节✅
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user