diff --git a/docker-compose.yml b/docker-compose.yml index 48af458..8e26af2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -300,6 +300,7 @@ services: restart: unless-stopped volumes: - scribus-designs:/data/designs + - rspace-files:/data/files environment: - BRIDGE_SECRET=${SCRIBUS_BRIDGE_SECRET} - BRIDGE_PORT=8765 diff --git a/lib/folk-design-agent.ts b/lib/folk-design-agent.ts index 1be18bd..b99ac7a 100644 --- a/lib/folk-design-agent.ts +++ b/lib/folk-design-agent.ts @@ -59,10 +59,18 @@ const styles = css` background: rgba(255,255,255,0.2); } + .wrapper { + height: 100%; + overflow: hidden; + display: flex; + flex-direction: column; + } + .content { display: flex; flex-direction: column; - height: calc(100% - 36px); + flex: 1; + min-height: 0; overflow: hidden; } @@ -123,6 +131,7 @@ const styles = css` overflow-y: auto; padding: 12px; font-size: 12px; + min-height: 0; } .step { @@ -234,6 +243,7 @@ export class FolkDesignAgent extends FolkShape { const root = super.createRenderRoot(); const wrapper = document.createElement("div"); + wrapper.className = "wrapper"; wrapper.innerHTML = html`