fix: add A2UI inset vars

This commit is contained in:
Peter Steinberger
2025-12-21 03:21:36 +01:00
parent 9f72eb3374
commit 6496a288b8
2 changed files with 9 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ Second beta focused on bundled gateway packaging, skills management, onboarding
### Canvas & browser control
- Canvas host served on Gateway port; removed standalone canvasHost port config; restored action bridge; refreshed A2UI bundle + message context; bridge canvas host for nodes.
- A2UI full-screen gutters + status clearance after successful load to avoid overlay collisions.
- Browser control API simplified; added MCP tool dispatch + native actions; control server can start without Playwright; hook timeouts extended.
### macOS UI polish

View File

@@ -176,7 +176,11 @@ class ClawdisA2UIHost extends LitElement {
height: 100%;
position: relative;
box-sizing: border-box;
padding: 12px;
padding:
var(--clawdis-a2ui-inset-top, 0px)
var(--clawdis-a2ui-inset-right, 0px)
var(--clawdis-a2ui-inset-bottom, 0px)
var(--clawdis-a2ui-inset-left, 0px);
}
#surfaces {
@@ -185,14 +189,14 @@ class ClawdisA2UIHost extends LitElement {
gap: 12px;
height: 100%;
overflow: auto;
padding-bottom: 24px;
padding-bottom: var(--clawdis-a2ui-scroll-pad-bottom, 0px);
}
.status {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 12px;
top: var(--clawdis-a2ui-status-top, 12px);
display: inline-flex;
align-items: center;
gap: 8px;
@@ -213,7 +217,7 @@ class ClawdisA2UIHost extends LitElement {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 12px;
bottom: var(--clawdis-a2ui-toast-bottom, 12px);
display: inline-flex;
align-items: center;
gap: 8px;