Merge remote-tracking branch 'origin/fix/compact-composer-whitespace' into main-merge-work

# Conflicts:
#	src/features/ecommerce/EcommercePage.tsx
#	src/styles/ecommerce-standalone.css
This commit is contained in:
2026-06-13 19:41:04 +08:00
2 changed files with 47 additions and 13 deletions
+21
View File
@@ -2944,6 +2944,15 @@
border-radius: 8px;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-result-stack > .clone-ai-node-label {
position: absolute;
top: -6px;
left: 50%;
z-index: 5;
transform: translate(-50%, -100%);
white-space: nowrap;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-canvas-node.is-generating {
justify-content: center;
min-width: 200px;
@@ -13473,3 +13482,15 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
display: inline !important;
}
}
/* Compact composer override: keep the generated-state composer from growing into the canvas. */
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.has-generated.is-compact:not(.is-history-detail *) .clone-ai-input-wrapper.ecom-command-composer,
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.has-generated.is-compact:not(.is-history-detail *) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) {
min-height: 156px !important;
max-height: 186px !important;
}
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.has-generated.is-compact:not(.is-history-detail *) .ecom-command-composer textarea {
min-height: 36px !important;
max-height: 36px !important;
}