diff --git a/gui/src/components/StepContainer/StepContainer.tsx b/gui/src/components/StepContainer/StepContainer.tsx index 84d681936..d83d7d9e8 100644 --- a/gui/src/components/StepContainer/StepContainer.tsx +++ b/gui/src/components/StepContainer/StepContainer.tsx @@ -110,21 +110,18 @@ export default function StepContainer(props: StepContainerProps) { {props.isLast && } - {shouldRenderResponseAction() && ( - // We want to occupy space in the DOM regardless of whether the actions are visible to avoid jank on stream complete + {shouldRenderResponseAction() && !isStreaming && (
- {!isStreaming && ( - - )} +
)} diff --git a/gui/src/components/mainInput/GradientBorder.tsx b/gui/src/components/mainInput/GradientBorder.tsx index 6cbf263d5..c3b80ccca 100644 --- a/gui/src/components/mainInput/GradientBorder.tsx +++ b/gui/src/components/mainInput/GradientBorder.tsx @@ -35,4 +35,5 @@ export const GradientBorder = styled.div<{ display: flex; flex-direction: row; align-items: center; + margin-top: ${(props) => (props.loading ? "8px" : "")}; `;