Обновить app/routes/home.tsx

This commit is contained in:
Dhaverd 2026-05-10 20:41:32 +02:00
parent 192795b4e8
commit 03ec32c0a2

View File

@ -92,9 +92,10 @@ export default function Home() {
onMouseLeave={() => setFabIsHovered(false)}
variant={fabIsHovered ? 'extended' : 'circular'}
sx={{
position: 'absolute',
position: 'fixed',
bottom: 16,
right: 16,
z-index: 1000,
width: fabIsHovered ? '160px' : '56px', // Переход между кругом и овалом
transition: 'width 0.3s ease-in-out',
overflow: 'hidden',