Skip to content

Commit

Permalink
Merge pull request #219 from sourcery-ai/ben/sou-1747-fix-ensure-view…
Browse files Browse the repository at this point in the history
…chatfocus-opens-up-the-chat-display

fix: correct a field and sort out an issue with overflowing in the styles
  • Loading branch information
bm424 authored Sep 6, 2023
2 parents 19fe097 + ca8c591 commit 942de0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ask-sourcery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function askSourceryCommand(recipes: Recipe[], contextRange?) {
target: "languageServer",
view: "chat",
request: "sendMessage",
message: result.label,
textContent: result.label,
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class ChatProvider implements vscode.WebviewViewProvider {
<link rel="stylesheet" href="${appStylesSrc}">
</head>
<body style="height: 100vh;">
<div id="root" style="height: 100%;"></div>
<div id="root" style="height: 100%; overflow-y: hidden;"></div>
<script type="module" nonce="${appScriptNonce}" src="${appScriptSrc}"></script>
<script nonce=${apiInjectionNonce}>
(function () {
Expand Down

0 comments on commit 942de0a

Please sign in to comment.