fix: 恢复浮动按钮原始样式

- 移除 top: auto 和 left: auto
- 移除 gap 属性,使用 margin-top
- 恢复原始 transition 定义
- 移除 flex-shrink 属性
This commit is contained in:
2026-01-20 16:24:20 +08:00
parent 5264a8df6d
commit 98add1f41d

View File

@@ -2682,16 +2682,15 @@ html.darkmode .wp-block-calendar tbody td {
/* 容器样式 */
#float_action_buttons {
position: fixed;
top: auto;
bottom: 35px;
right: 20px;
left: auto;
z-index: 10002;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
z-index: 10002;
transition: all var(--animation-normal) var(--ease-standard);
transition:
opacity var(--animation-normal) var(--ease-standard),
transform var(--animation-normal) var(--ease-standard);
}
#float_action_buttons.fabtns-float-left {
@@ -2728,8 +2727,7 @@ html.is-home.banner-as-cover #float_action_buttons.hidden {
padding: 0;
overflow: visible;
display: block;
margin: 0;
flex-shrink: 0;
margin-top: 8px;
border: none !important;
transition: all var(--animation-normal) var(--ease-standard);
background-color: var(--color-foreground) !important;