cody: fix context files overflow (#53726)

This commit is contained in:
Beatrix 2023-06-19 23:37:19 -07:00 committed by GitHub
parent 8d940c6021
commit 44d483d43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 10 deletions

View File

@ -14,13 +14,12 @@
top: 0;
left: 0;
width: .1rem;
width: 0.1rem;
height: 100%;
content: '';
}
.assistant-row:before {
background-image: linear-gradient(to bottom, #b200f8, #ff5543, #00cbec);
}

View File

@ -48,8 +48,8 @@ export const TranscriptAction: React.FunctionComponent<{
// eslint-disable-next-line react/no-array-index-key
<li key={index} className={styles.step}>
{step.icon && <Icon svgPath={step.icon} className={styles.stepIcon} />}{' '}
<span>
{step.verb} <span className={styles.stepObject}>{step.object}</span>
<span className={styles.stepObject}>
{step.verb} {step.object}
</span>
</li>
))}

View File

@ -35,14 +35,14 @@ body[data-vscode-theme-kind='vscode-high-contrast'] .transcript-item:not(.human-
color: var(--code-foreground);
}
.transcript-item ul,
.transcript-item ol {
padding-left: 1rem;
.transcript-item ul:not(.transcript-action *),
.transcript-item ol:not(.transcript-action *) {
padding-left: 2rem;
}
.transcript-action {
background: var(--button-secondary-background);
color: var(--button-secondary-foreground);
background: var(--vscode-button-secondaryBackground);
color: var(--vscode-button-secondaryForeground);
font-size: var(--vscode-editor-font-size);
}
@ -109,7 +109,6 @@ body[data-vscode-theme-kind='vscode-high-contrast'] .transcript-item:not(.human-
.suggestion-button {
border-radius: 1rem;
font-size: 0.7rem;
}
.submit-button-disabled {

View File

@ -13,6 +13,7 @@ export const FileLink: React.FunctionComponent<FileLinkProps> = ({ path }) => (
onClick={() => {
getVSCodeAPI().postMessage({ command: 'openFile', filePath: path })
}}
title={path}
>
{path}
</button>