diff --git a/apps/ui/src/ui-classic/components/session-view/conversation/style.module.css b/apps/ui/src/ui-classic/components/session-view/conversation/style.module.css index 9304053204..ec727e3ba9 100644 --- a/apps/ui/src/ui-classic/components/session-view/conversation/style.module.css +++ b/apps/ui/src/ui-classic/components/session-view/conversation/style.module.css @@ -4,17 +4,16 @@ gap: var(--wpds-dimension-padding-lg); } -/* User bubbles act as turn anchors; give them generous breathing room above - and below so the user's prompt stands apart from the assistant response. */ +/* User bubbles act as turn anchors. No top padding — the space above comes + from the preceding turn's in-flow copy-button line plus the root gap. The + bottom padding mirrors that copy line's height (1.75rem, keep in sync with + the copy-button size) so every turn is followed by the same amount of + space. */ .userTurn { display: flex; flex-direction: column; margin-right: calc(-1 * var(--classic-composer-shell-inline-padding)); - padding: var(--wpds-dimension-padding-xl) 0; -} - -.userTurn:first-child { - padding-top: 0; + padding: 0 0 1.75rem; } .userAttachments {