fix: widen Scene 8 authoring surface

This commit is contained in:
lda
2026-07-12 08:38:49 +07:00 Verified
parent 99dd3e7038
commit 74d02f533b
2 changed files with 4 additions and 2 deletions
@@ -55,6 +55,8 @@ describe("presentation.css", () => {
it("bounds Scene 9 conversation scrolling and recenters Scene 8 at compact stage widths", () => {
expect(css.match(/\.presentation-stage\[data-scene-view="agent"\] \.presentation-stage__primary\s*\{/g)).toHaveLength(2);
expect(css).toMatch(/\.agent-handoff-scene__intro\s*\{[\s\S]*?width:\s*min\(calc\(100% - 3rem\), 72rem\);/);
expect(css).toMatch(/\.agent-handoff-scene__composer\s*\{[\s\S]*?width:\s*min\(calc\(100% - 3rem\), 72rem\);/);
expect(css).toMatch(
/\.prepared-lifecycle-scene\[data-presentation-surface="editorial"\] \.presentation-assistant-pane__conversation\s*\{[\s\S]*?flex:\s*1 1 auto;[\s\S]*?min-height:\s*0;[\s\S]*?overflow:\s*auto;/,
);
@@ -3003,7 +3003,7 @@
.agent-handoff-scene__composer {
display: grid;
gap: 0.75rem;
width: min(100%, 52rem);
width: min(calc(100% - 3rem), 72rem);
margin-inline: auto;
padding: clamp(1.5rem, 4vw, 3.75rem) clamp(1rem, 5vw, 4.5rem);
border: 1px solid var(--authoring-rule, var(--stage-line));
@@ -3045,7 +3045,7 @@
}
.agent-handoff-scene__intro {
width: min(100%, 52rem);
width: min(calc(100% - 3rem), 72rem);
margin-inline: auto;
}