Fix:修复置顶文字问题

This commit is contained in:
羡羡 2023-04-21 10:21:26 +08:00 committed by airbo
parent e228f328b5
commit a88d032958
1 changed files with 12 additions and 1 deletions

View File

@ -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 {