From 98add1f41d769ba4fec45a2e2e32a42f0ca90efe Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Tue, 20 Jan 2026 16:24:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=81=A2=E5=A4=8D=E6=B5=AE=E5=8A=A8?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=8E=9F=E5=A7=8B=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 top: auto 和 left: auto - 移除 gap 属性,使用 margin-top - 恢复原始 transition 定义 - 移除 flex-shrink 属性 --- style.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/style.css b/style.css index 6a7690b..34648dd 100644 --- a/style.css +++ b/style.css @@ -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;