Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

dashboard-next/drawer: scope flex layout to open state so closed drawer doesn't steal grid column

nirholasd623d4e3cdb9
diff --git a/src/dashboard-next/components/drawer.js b/src/dashboard-next/components/drawer.js
index 006c815e7..e8f0a7c49 100644
--- a/src/dashboard-next/components/drawer.js
+++ b/src/dashboard-next/components/drawer.js
@@ -76,7 +76,10 @@ export function renderDrawer() {
return `
<aside class="dn-drawer" data-component="drawer" aria-label="Activity">
<style>
- .dn-drawer { display: flex; flex-direction: column; height: 100%; }
+ /* Only impose layout when the shell has opened us. Otherwise the
+ shell's display:none rule must win — without this guard the
+ drawer claims a phantom grid column and crushes the main area. */
+ .dn-shell[data-drawer-open='true'] .dn-drawer { display: flex; flex-direction: column; height: 100%; }
.dnd-head {
padding: 16px 18px 12px;
border-bottom: 1px solid var(--nxt-stroke);