fix: native button toggles, scroll enabled, remove whileHover interference
All checks were successful
Deploy to Coolify / deploy (push) Successful in 4s

This commit is contained in:
Cosmo
2026-04-22 11:00:24 +00:00
parent 98fdcafb73
commit 9c01fd235f
3 changed files with 155 additions and 224 deletions

View File

@@ -64,7 +64,7 @@ export default function Home() {
return (
<div
className="relative w-screen overflow-hidden no-select"
className="relative w-screen overflow-hidden"
style={{ height: "100dvh", background: "var(--bg)" }}
>
{/* Ambient orbs */}
@@ -128,14 +128,13 @@ export default function Home() {
</AnimatePresence>
{/* Content area — fills remaining space */}
<div className="flex-1 min-h-0 overflow-hidden">
<div className="flex-1 min-h-0 overflow-y-auto">
<AnimatePresence mode="wait">
{/* ═══════════════ HOME TAB ═══════════════ */}
{activeTab === "home" && (
<motion.div
key="home"
className="h-full"
variants={containerVariants}
initial="hidden"
animate="visible"
@@ -146,10 +145,9 @@ export default function Home() {
Row 2: [Очиститель ×2] [Погода]
*/}
<div
className="h-full grid gap-3"
className="grid gap-3"
style={{
gridTemplateColumns: "1fr 1fr 1fr",
gridTemplateRows: "1fr 1fr",
}}
>
{/* Свет Гостиная */}