From fb33a1e1552cbbf744796b7f84c22d8984b59fa0 Mon Sep 17 00:00:00 2001 From: yingyu5658 Date: Sun, 1 Feb 2026 19:33:23 +0800 Subject: fix: show full title content in the single page --- layouts/partials/style.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'layouts/partials') diff --git a/layouts/partials/style.html b/layouts/partials/style.html index edb5d20..28380c7 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -51,6 +51,20 @@ word-wrap: break-word; } + .post-title a.item-link { + width: 100%; + display: inline-block; + text-decoration: none; + flex: 1; + overflow: hidden; + text-overflow: ellipsis; + font-size: 1.6em; + word-wrap: break-word; + white-space: normal; + word-wrap: break-word; + + } + .post-date { font-size: 0.9em; color: #666; @@ -388,7 +402,7 @@ --summary-text-color: #c9c6c5; --body-bg-color: #121212; --bold-text-color: #eee; - --body-text-color: #ddd; + --body-text-color: #e8e6e3; --link-color: #ddd; --link-visited-color: #c3b1ee; --table-border-color: #999; -- cgit v1.2.3