diff --git a/.changeset/common-parts-argue.md b/.changeset/common-parts-argue.md
new file mode 100644
index 0000000000..bd1b40ec0e
--- /dev/null
+++ b/.changeset/common-parts-argue.md
@@ -0,0 +1,5 @@
+---
+"kilo-code": patch
+---
+
+add right margin to message content area for code blocks
diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx
index e9bf53ff8d..3434c80c6c 100644
--- a/webview-ui/src/components/chat/ChatRow.tsx
+++ b/webview-ui/src/components/chat/ChatRow.tsx
@@ -1135,7 +1135,8 @@ export const ChatRowContent = ({