Fix paragraph word wrap

This commit is contained in:
Saoud Rizwan
2024-07-26 14:00:11 -04:00
parent f4b77d5066
commit 1ff481468c
2 changed files with 10 additions and 5 deletions

View File

@@ -394,11 +394,15 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
return await this.context.workspaceState.get(key) return await this.context.workspaceState.get(key)
} }
private async clearAllWorkspaceState() { // private async clearState() {
this.context.workspaceState.keys().forEach((key) => { // this.context.workspaceState.keys().forEach((key) => {
this.context.workspaceState.update(key, undefined) // this.context.workspaceState.update(key, undefined)
}) // })
} // this.context.globalState.keys().forEach((key) => {
// this.context.globalState.update(key, undefined)
// })
// this.context.secrets.delete("apiKey")
// }
// secrets // secrets

View File

@@ -175,6 +175,7 @@ const ChatRow: React.FC<ChatRowProps> = ({
const pStyle: React.CSSProperties = { const pStyle: React.CSSProperties = {
margin: 0, margin: 0,
whiteSpace: "pre-line", whiteSpace: "pre-line",
wordBreak: "break-word",
} }
switch (message.type) { switch (message.type) {