Merge remote-tracking branch 'origin/master' into blog-content

This commit is contained in:
github-actions[bot] 2026-09-18 08:31:02 +00:00
commit 3af1161365
2 changed files with 8 additions and 1 deletions

View file

@ -2,7 +2,7 @@
const { lang = "zh" } = Astro.props; const { lang = "zh" } = Astro.props;
const host = import.meta.env.PUBLIC_REMARK42_HOST; const host = import.meta.env.PUBLIC_REMARK42_HOST;
const siteId = import.meta.env.PUBLIC_REMARK42_SITE_ID; const siteId = import.meta.env.PUBLIC_REMARK42_SITE_ID;
const max = 5; const max = 7;
const heading = lang === "zh" ? "最新评论" : "Latest comments"; const heading = lang === "zh" ? "最新评论" : "Latest comments";
--- ---

View file

@ -151,11 +151,18 @@
.comment-source-context { .comment-source-context {
display: flex; display: flex;
align-items: baseline; align-items: baseline;
flex: 1 1 auto;
gap: 0.4rem; gap: 0.4rem;
min-width: 0; min-width: 0;
} }
.comment-source-context > span {
flex: 0 0 auto;
white-space: nowrap;
}
.comment-title-link { .comment-title-link {
flex: 1 1 auto;
min-width: 0; min-width: 0;
overflow: hidden; overflow: hidden;
color: #6f8090; color: #6f8090;