mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-10-25 13:33:53 +00:00
fix latest comments
This commit is contained in:
parent
767861bc13
commit
0cc02888f7
2 changed files with 8 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
const { lang = "zh" } = Astro.props;
|
||||
const host = import.meta.env.PUBLIC_REMARK42_HOST;
|
||||
const siteId = import.meta.env.PUBLIC_REMARK42_SITE_ID;
|
||||
const max = 5;
|
||||
const max = 7;
|
||||
const heading = lang === "zh" ? "最新评论" : "Latest comments";
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -151,11 +151,18 @@
|
|||
.comment-source-context {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
flex: 1 1 auto;
|
||||
gap: 0.4rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.comment-source-context > span {
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.comment-title-link {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: #6f8090;
|
||||
|
|
|
|||
Loading…
Reference in a new issue