From bdb830c28d8eca8dadb993d962b3fce7ad28e165 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 6 Jun 2026 17:35:08 -0300 Subject: [PATCH] fix: panel in document-flow slot so it pushes hero down when open --- index.html | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 81d2f56..7901bd0 100644 --- a/index.html +++ b/index.html @@ -971,6 +971,15 @@ } /* ── Chat ──────────────────────────────────────────────── */ + /* Slot sits in document flow — zero height when closed */ + #chat-panel-slot { + display: none; + padding-top: 8px; + padding-bottom: 6px; + } + #chat-panel-slot.open { + display: block; + } .nav-chat-panel { width: 340px; max-width: 100%; @@ -980,14 +989,8 @@ border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,0.5); overflow: hidden; - display: none; - flex-direction: column; - z-index: 9999; - margin-top: 66px; - margin-left: 24px; - } - .nav-chat-panel.open { display: flex; + flex-direction: column; } .nav-chat-main { display: flex; @@ -1140,14 +1143,16 @@ -