diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index b4165faf..16b3b8eb 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -8965,7 +8965,7 @@ li { } } -.recent-post-item .recent-post-info .recent-post-info-top .content { +.recent-post-info-top:not(:has(> span)) .content { transition: 0.3s; display: -webkit-box; overflow: hidden; @@ -8976,6 +8976,17 @@ li { margin-top: 0.5rem; } +span + a + .content:last-child { + transition: 0.3s; + display: -webkit-box; + overflow: hidden; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; + line-height: 1.4; + color: var(--heo-secondtext); + margin-top: 0.5rem; +} + @media screen and (max-width: 1300px) { .recent-post-item:hover .recent-post-info .recent-post-info-top .content {