transparent bg fix

This commit is contained in:
Nate Sesti 2023-07-19 18:45:46 -07:00
parent 5237ae0428
commit b511cb7679
5 changed files with 9 additions and 5 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.0.182",
"version": "0.0.184",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.0.182",
"version": "0.0.184",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -14,7 +14,7 @@
"displayName": "Continue",
"pricing": "Free",
"description": "The open-source coding autopilot",
"version": "0.0.182",
"version": "0.0.184",
"publisher": "Continue",
"engines": {
"vscode": "^1.67.0"

View file

@ -71,7 +71,6 @@ const Ul = styled.ul<{
: `transform: translateY(${2 * mainInputFontSize}px);`}
position: absolute;
background: ${vscBackground};
background-color: ${secondaryDark};
color: ${vscForeground};
max-height: ${UlMaxHeight}px;
width: calc(100% - 16px);
@ -96,7 +95,7 @@ const Li = styled.li<{
selected: boolean;
isLastItem: boolean;
}>`
background-color: ${secondaryDark};
background-color: ${vscBackground};
${({ highlighted }) => highlighted && "background: #ff000066;"}
${({ selected }) => selected && "font-weight: bold;"}
padding: 0.5rem 0.75rem;

View file

@ -4,6 +4,7 @@ import {
StyledTooltip,
defaultBorderRadius,
secondaryDark,
vscBackground,
vscForeground,
} from ".";
import {
@ -113,6 +114,7 @@ const PillButton = (props: PillButtonProps) => {
<GridDiv
style={{
gridTemplateColumns: props.onlyShowDelete ? "1fr" : "1fr 1fr",
backgroundColor: vscBackground,
}}
>
{props.onlyShowDelete || (

View file

@ -40,6 +40,9 @@ const commandsMap: { [command: string]: (...args: any) => any } = {
edit ? "/edit " : ""
}${code}\n\nHow do I fix this problem in the above code?: ${message}`
);
if (!edit) {
vscode.commands.executeCommand("continue.continueGUIView.focus");
}
},
"continue.focusContinueInput": async () => {
if (focusedOnContinueInput) {