fixed 修复首页闪烁的bug

This commit is contained in:
Vaica committed 2026-02-05 21:56:27 +08:00
1 parent f658dcc767
commit 8b7f9e7ebf
3 files changed
+25 -2

No files matched your search

+5
View File
@@ -3467,6 +3467,9 @@ input[type=submit] {
/* GPU Acceleration for container */
transform: translateZ(0);
will-change: transform;
/* Ensure visibility stability */
opacity: 1;
visibility: visible;
}
.floating-tools a {
@@ -3532,6 +3535,7 @@ input[type=submit] {
will-change: opacity, transform, height;
}
/* Ensure consistent display state when active */
#back-to-top.show {
opacity: 1;
visibility: visible;
@@ -3541,6 +3545,7 @@ input[type=submit] {
transform: translate3d(0, 0, 0) scale(1);
pointer-events: auto;
border-width: 1px;
display: flex; /* Force flex display to keep icon centered */
}
#back-to-top.show:hover {