fix(single): restore author follow controls

This commit is contained in:
kate522 committed 2026-08-31 13:12:45 +08:00
1 parent 71444b139a
commit 8eb62e712b
19 files changed
+261 -615

No files matched your search

+11 -11
View File
@@ -984,17 +984,6 @@ strong, b {
.but a { color: inherit; }
/* 关注控件(.follow 且无 .but):纯文字色样式,无背景色;
清除原生 button 的 UA 背景/边框,并保持 .but 同款可点反馈 */
.follow:not(.but) {
background: transparent;
border: none;
padding: 0;
cursor: pointer;
transition: 0.15s;
}
.follow:not(.but):hover { opacity: 0.8; }
.but .icon,
.but > .fa:not(.fa-angle-right),
.but > i[class*="fa-"]:not(.fa-angle-right) { margin-right: 0.25em; }
@@ -2697,6 +2686,17 @@ main.container,
flex-wrap: nowrap;
white-space: nowrap;
}
.user-card.author .user-name > name {
overflow: visible;
}
.user-card.author .user-name > name > .display-name {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.user-card.author .user-name > name > .follow {
flex-shrink: 0;
}
.aksrt-author-hero__name,
.uc-header__name {
display: inline-flex;