Restore stream auxiliary spacing
This commit is contained in:
@@ -518,7 +518,12 @@ const AgentStreamViewComponent = forwardRef<AgentStreamViewHandle, AgentStreamVi
|
|||||||
return (
|
return (
|
||||||
<View style={[stylesheet.streamItemWrapper, { marginBottom: gapBelow }]}>
|
<View style={[stylesheet.streamItemWrapper, { marginBottom: gapBelow }]}>
|
||||||
{content}
|
{content}
|
||||||
{isEndOfAssistantTurn ? <TurnCopyButton getContent={getTurnContent} /> : null}
|
{isEndOfAssistantTurn ? (
|
||||||
|
<TurnCopyButton
|
||||||
|
getContent={getTurnContent}
|
||||||
|
containerStyle={stylesheet.assistantTurnCopyButton}
|
||||||
|
/>
|
||||||
|
) : null}
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
@@ -631,7 +636,7 @@ const AgentStreamViewComponent = forwardRef<AgentStreamViewHandle, AgentStreamVi
|
|||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
stylesheet.listHeaderContent,
|
stylesheet.listHeaderContent,
|
||||||
boundary.hasLiveHead ? { paddingTop: tightGap } : null,
|
boundary.hasLiveHead ? { paddingTop: looseGap } : null,
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
{auxiliary.pendingPermissions}
|
{auxiliary.pendingPermissions}
|
||||||
@@ -639,7 +644,7 @@ const AgentStreamViewComponent = forwardRef<AgentStreamViewHandle, AgentStreamVi
|
|||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}, [auxiliary.pendingPermissions, auxiliary.workingIndicator, boundary.hasLiveHead, tightGap]);
|
}, [auxiliary.pendingPermissions, auxiliary.workingIndicator, boundary.hasLiveHead, looseGap]);
|
||||||
|
|
||||||
const renderers = useMemo<StreamSegmentRenderers>(
|
const renderers = useMemo<StreamSegmentRenderers>(
|
||||||
() => ({
|
() => ({
|
||||||
@@ -1044,6 +1049,9 @@ const stylesheet = StyleSheet.create((theme) => ({
|
|||||||
listHeaderContent: {
|
listHeaderContent: {
|
||||||
gap: theme.spacing[3],
|
gap: theme.spacing[3],
|
||||||
},
|
},
|
||||||
|
assistantTurnCopyButton: {
|
||||||
|
marginTop: theme.spacing[3],
|
||||||
|
},
|
||||||
bottomBarWrapper: {
|
bottomBarWrapper: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
|
|||||||
Reference in New Issue
Block a user