fix: address project review bugs

This commit is contained in:
2026-06-12 17:25:30 +08:00
parent f9e55578b3
commit ad4bca31b1
11 changed files with 209 additions and 124 deletions
+14 -4
View File
@@ -2914,14 +2914,14 @@
cursor: grabbing;
}
/* Keep preview content visually centered in the viewport when the history sidebar is open. */
/* History sidebar is an overlay drawer; do NOT shift the underlying content. */
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-empty-state,
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-flow-pipeline {
transform: translateX(var(--ecom-history-offset)) !important;
transform: none !important;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-preview-zoom-wrap {
margin-left: var(--ecom-history-offset) !important;
margin-left: 0 !important;
}
/* Header polish: remove the logo frame trace and match credit/user pill surfaces. */
@@ -3136,7 +3136,7 @@
/* Restore composer scale: only center dynamically, do not enlarge the input or upload strip. */
.ecommerce-standalone .product-clone-page[data-tool="clone"] {
--ecom-history-offset: 146px;
--ecom-history-offset: 0px;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"].is-history-collapsed {
@@ -3695,6 +3695,16 @@
box-shadow: none !important;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history__backdrop {
position: fixed !important;
inset: 0 !important;
z-index: 85 !important;
background: rgba(16, 38, 56, 0.28) !important;
backdrop-filter: blur(2px) !important;
-webkit-backdrop-filter: blur(2px) !important;
animation: ecommerce-soft-scrim-in 240ms ease-out both !important;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history__tools {
display: grid !important;
grid-template-columns: 40px minmax(0, 1fr) 40px !important;