mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-10-25 21:43:53 +00:00
Merge pull request #43 from ClovertaTheTrilobita/dev
fix latest comments
This commit is contained in:
commit
c17d49de3f
2 changed files with 8 additions and 1 deletions
|
|
@ -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";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue