fix: 修复浮动按钮位置异常问题

- 移除 M3 浮动按钮 hover 时的 scale 变换
- 移除 Apple 风格浮动按钮 hover 时的 translateY 和 scale 变换
- 移除移动端浮动按钮 hover 时的 transform 变换
- 保持按钮位置稳定,避免布局偏移
This commit is contained in:
2026-01-12 14:41:50 +08:00
parent 8cf05f68ea
commit 590dfc2dd5

View File

@@ -14124,7 +14124,6 @@ article.post.card:hover {
.float-action-buttons .fabtn:hover {
box-shadow: var(--m3-elevation-3) !important;
transform: scale(1.05);
}
/* M3 模态框 */
@@ -15158,7 +15157,6 @@ html.darkmode #leftbar_part2 {
}
#float_action_buttons .fabtn:hover {
transform: translateY(-3px) scale(1.05);
box-shadow:
0 6px 16px rgba(var(--themecolor-rgbstr), 0.25),
0 12px 28px rgba(0, 0, 0, 0.1),
@@ -15389,10 +15387,6 @@ html.darkmode ::-webkit-scrollbar-thumb:hover {
article.post.card:hover {
transform: translateY(-2px);
}
#float_action_buttons .fabtn:hover {
transform: translateY(-2px) scale(1.02);
}
}
/* ========================================