diff --git a/packages/bruno-app/src/components/AiChatSidebar/DiffView/StyledWrapper.js b/packages/bruno-app/src/components/AiChatSidebar/DiffView/StyledWrapper.js index 53520d879..cb2d53373 100644 --- a/packages/bruno-app/src/components/AiChatSidebar/DiffView/StyledWrapper.js +++ b/packages/bruno-app/src/components/AiChatSidebar/DiffView/StyledWrapper.js @@ -200,6 +200,10 @@ const StyledWrapper = styled.div` } } + .diff-lines { + min-width: max-content; + } + .diff-line { padding: 0 8px 0 4px; white-space: pre; @@ -224,7 +228,6 @@ const StyledWrapper = styled.div` .line-content { flex: 1; - overflow-x: auto; } &.added { diff --git a/packages/bruno-app/src/components/AiChatSidebar/DiffView/index.js b/packages/bruno-app/src/components/AiChatSidebar/DiffView/index.js index e10100064..8660126a6 100644 --- a/packages/bruno-app/src/components/AiChatSidebar/DiffView/index.js +++ b/packages/bruno-app/src/components/AiChatSidebar/DiffView/index.js @@ -194,7 +194,11 @@ const DiffView = ({ originalCode, newCode, onAccept, onReject, status, contentTy )} - {isExpanded &&
{renderHunks()}
} + {isExpanded && ( +
+
{renderHunks()}
+
+ )}