fix(single): match reference article action bar 1:1
The action bar used a locally invented pill-chip style that overrode the reference theme's 80px icon-over-text columns, and the JS toggled a class no stylesheet targeted — so likes/favorites showed no selected state at all. - restore reference markup: <svg class="icon"> + <text>/<count> and the actived class, with data-stat-count/data-base-count preserved - toggle actived plus a transient action-animation so the lovestar keyframes finally reach the DOM - drop the CSS overrides and now-dead action-btn/.action-btn--reward and .post-actions-card rules; main.css already carried the reference rules the overrides were shadowing
This commit is contained in:
1 parent
1ce8e263c3
commit
8d16ce6e02
13 files changed
+43
-255
No files matched your search
@@ -250,8 +250,6 @@ body.dark-theme .limit-height .read-more {
|
||||
.single-cover__content { padding: 14px; }
|
||||
.single-cover__title { font-size: 1rem; }
|
||||
.post-nav-box { grid-template-columns: 1fr; }
|
||||
.post-actions-card__buttons { gap: 8px; }
|
||||
.action-btn { padding: 8px 14px; font-size: 13px; }
|
||||
}
|
||||
|
||||
/* ===== 鏆楄壊妯″紡 ===== */
|
||||
|
||||
Reference in new issue
Block a user