fix: adapt floating ball for mobile viewport

This commit is contained in:
Youzini-afk
2026-03-28 00:23:47 +08:00
parent 17c14181a4
commit 3641a342f4
2 changed files with 170 additions and 38 deletions

View File

@@ -2628,3 +2628,22 @@
opacity: 1;
}
@media (max-width: 768px) {
#bme-floating-ball {
width: 54px;
height: 54px;
border-width: 2px;
box-shadow:
0 8px 24px rgba(0, 0, 0, 0.42),
0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
#bme-floating-ball .bme-fab-icon {
font-size: 21px;
}
#bme-floating-ball .bme-fab-tooltip {
display: none;
}
}