truncate really long comments by default to keep side speedy!

This commit is contained in:
2026-05-14 13:36:09 +02:00
parent f386287421
commit f43f2d72ca
3 changed files with 70 additions and 15 deletions

View File

@@ -1925,6 +1925,32 @@ body.sidebar-right-hidden .global-sidebar-right {
/* Hidden by default, shown via JS if overflow detected */
}
.item-comment-truncated-notice {
display: block;
margin-top: 8px;
font-size: 0.85em;
color: #666;
}
.load-full-comment-btn {
background: none;
border: none;
padding: 0;
color: var(--accent);
font-size: inherit;
font-family: inherit;
cursor: pointer;
opacity: 0.85;
text-decoration: underline;
text-underline-offset: 2px;
transition: opacity 0.15s;
}
.load-full-comment-btn:hover {
opacity: 1;
}
/* Avatar in sidebar activity */
.sidebar-avatar-link {
flex-shrink: 0;
@@ -7886,6 +7912,7 @@ span.badge.badge-current {
text-decoration: underline;
}
.sidebar-comment-img.emoji {
width: auto;
display: inline-block;