From 9b43865f91fef66c89a4eeed232237eba931a195 Mon Sep 17 00:00:00 2001 From: Fabio Date: Sat, 21 Feb 2026 17:00:29 +0100 Subject: [PATCH] 5 --- style.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 917c350..4c15eb2 100644 --- a/style.css +++ b/style.css @@ -131,19 +131,23 @@ header { .info-panel { position: fixed; top: 0; - right: -320px; + right: 0; width: 320px; height: 100%; background: #fff; padding: 16px; box-shadow: -2px 0 6px rgba(0,0,0,0.25); - transition: right 0.3s ease; overflow-y: auto; z-index: 2000; + + /* 🔥 Nasconde completamente il pannello */ + transform: translateX(100%); + transition: transform 0.3s ease; } .info-panel.open { - right: 0; + /* 🔥 Mostra il pannello */ + transform: translateX(0); } .info-panel h3 {